[ic] little loop question

Joachim Leidinger interchange-users@interchange.redhat.com
Thu Feb 14 07:18:00 2002


Twentys wrote:
> >>                      [loop option=color search="
> >>                       ra=yes
> >>                       fi=products
> >>                       ml=50
> >>                       tf=color
> >>                 "]
> >>
> >>                 <option value="[loop-data products color]"> [loop-data
> >> products color]</option>
> >>                 [/loop]
> >> </select>
> >>
> >> But so I have something like this parameters in my select box
> >> blu
> >> yellow
> >> red
> >> blu
...
> >Set in your loop:
> >un= yes
....
> I've already tried, but it doesn't work....
> any other idea?
> thanks

Try

[loop option=color searc
         ra=yes
         fi=products
         rf=color
         ml=50
         tf=color
         un=1
      "]
 <option value="[loop-code]"> [loop-code]</option>
[/loop]

not tested!

Joachim

-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[leidinger@bpanet.de] 
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de