I have a dynamic list that users can select multiple choices and I want on
the edit page to have all those choices pre-selected. The values are grouped
in one field separated by commas. In other words my list menu is populated
from another table but the selections are grouped into one field in the
other table.
Below is my current code (that doesn't work). How can I modify this for it
work.
====================
<option value="<%=(Pages.Fields.Item("ID").Value)%>" <%If (Not
isNull((EditPhotos.Fields.Item("PageID").Value))) Then If
(CStr(Pages.Fields.Item("ID").Value) LIKE
CStr((EditPhotos.Fields.Item("PageID").Value))) Then
Response.Write("SELECTED") : Response.Write("")%>
Quote:
%=(Pages.Fields.Item("Title").Value)%></option
====================
|
Thanks