[ic] Nested [if] ... ?

Tomas tomas at accessnow.com
Tue Jul 6 12:46:59 EDT 2004


Howdy...

I am trying to figure out how to do something like the following:

[if-item-field active_flag]
[then]
	[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>
[/then]
[/if-item-field]

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?

Thanks,


Tomas

-- Strategic Solutions for the Rest of Us (tm) --------------------

  http://newwebmakers.com  - - - - Custom E-Solutions; E-commerce,
   data mining solutions, websites, and other effective solutions to
   real-world requirements.

   "If everyone is thinking alike then somebody is not thinking..."
                         -- George S. Patton


More information about the interchange-users mailing list