Title: Is this possible?
Is this possible?

I have a multiple Select list

<select Name="ssss" size="6" multiple>
<@rows>
<option value-""  HERE  >alskjsdlfj</option>
</@rows>
</select>

I select three items out of 6 in the list and save it to the db like

item1,item2,Item3

Then when I bring it back to display in detail

As it loops through each row returned, I want to check to see if the option value = any of the values (item1, item2, item3) and if so, add "Selected" to the option item so that the 3 items show up as selected in detail.

I know the <@if expr=""></@if> format for multiple "OR" options in the expr statement, but I can seem to get the format done right from the column being returned.

Does anyone have some sample code that might get me further down the road?

I can convert the returned data using <@tokenize> and make an array, but that is as far as I get.

Thanks so much in advance.

Mark
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to