[ic] if-loop problem

Chen Naor interchange-users@icdevgroup.org
Tue Aug 6 02:11:04 2002


Hi,

using IC 4.8.3

I'm trying to do an if statement inside of a loop list tag, I looked in the
archives but could not solve this.

I tried all of these statement and didn't got any results.

I checked and the [value birth_day] is exist.

Any suggestions?

Thanks

Chen


    [loop list="01..31" ranges=1]

                        <OPTION VALUE="[loop-code]"
                                [if [loop-pos 0] eq [value
birth_day]]SELECTED[/if]
                                [if-loop-pos 0 eq '[value birth_day]']
SELECTED [/if-loop-pos]
                                [if-loop-param code eq [value birth_day]]
SELECTED [/if-loop-param]
                                [if [loop-code] eq '[value birth_day]']
SELECTED [/if]
                            >[loop-code]</OPTION>
                           [/loop]