[ic] Nested [if] ... ?

Akash Shah ic_user at hotmail.com
Tue Jul 6 13:28:36 EDT 2004

>From: Tomas <tomas at accessnow.com>
>Reply-To: interchange-users at icdevgroup.org
>To: interchange-users at icdevgroup.org
>Subject: [ic] Nested [if] ... ?
>Date: Tue, 06 Jul 2004 09:46:59 -0700
>I am trying to figure out how to do something like the following:
>[if-item-field active_flag]
>	[if-loop-data options o_modular]
>		[page [loop-code]]
>	[else]
>		[order [loop-code]]
>	[/else]
>	[/if-loop-data]
>	<img src="__THEME_IMG_DIR__buynow.gif" border="0" align="top"></a>
>Meaning, that if the field 'active_flag' is set by having a value, then  
>the rest of the code evaluates.  However, when I use this, the  
>[if-item-field...] is output as text and not interpreted... the inner if  
>is parsed, but the outer is not.
>What is wrong with this code?  What would be a better way to do this?

can you try ?
                     [if-loop-field active_flag]

- akash

FREE pop-up blocking with the new MSN Toolbar – get it now! 

More information about the interchange-users mailing list