HighDots Forums  

Dynamic List Question

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Dynamic List Question in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kory
 
Posts: n/a

Default Dynamic List Question - 07-08-2003 , 02:45 PM






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




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.