[ic] if statement

Miguel Navarro interchange-users@icdevgroup.org
Wed Feb 19 18:10:01 2003


I have looked through the docs and am comming short on one part.

Basically I want to modify a region based on the category for a product

I got this far

[if-item-field category =~ /Business Bundles/]
<tr><td><b>Business Bundle</b></td></tr>
[/if-item-field]
[item-field category]

I put in the last line to check and see if the value was wrong. What I get
is

Business Bundle

Which is the last line so I know that the category is comming through fine.
What am I doing wrong??

Thanks

M

I have also tried as [if [item-field] eq "Business Bundle"] and [if value
item-field eq "Business Bundle"]