[ic] small if query

mike karthauser interchange-users@icdevgroup.org
Thu Feb 6 13:23:00 2003


on 6/2/03 5:57 pm, Michael Goldfarb at mikeg@contactdesigns.com wrote:

> As with most things in IC, there are a number of ways to handle
> solutions for questions.
> 
> You can set [total-cost] as a scratch variable and then compare the
> value of the scratch variable like this:
> 
> [tmp order_total][total-cost noformat=1][/tmp]
> 
> [if type="scratch" term="order_total" op="gt" compare="15"]
> shop
> [else]
> no shop
> [/else]
> [/if]

that makes sense. now i also know what the scratch variables are.

thanks for you help.
-- 
Mike Karthauser 
Managing Director - Brightstorm Ltd

Email       >> mikek@brightstorm.co.uk
Web         >> http://www.brightstorm.co.uk
Tel         >> 0117 9426653 (office)
               07939 252144 (mobile)

Snailmail   >> Unit 8, 14 King Square,
               Bristol BS2 8JJ