Skip to main content
Participating Frequently
November 20, 2007
Question

Dynamic List in UPDATE page

  • November 20, 2007
  • 1 reply
  • 293 views
ASP VBSCRIPT / SQL Server 2005 / Dreamweaver CS3

We have an update page with an Dynamic List with the option for multi-selections allowed. The field is populated from a recordset. I want to highlight the options already selected. For example:

say the recordset has the following options:
- one
- two
- three

and two and htree are already in the database: two, three

How can i populate the list with two and three already highlightd (selected)?
This topic has been closed for replies.

1 reply

Inspiring
November 26, 2007
"Mardirousi" <webforumsuser@macromedia.com> wrote in message
news:fhvf2n$g2k$1@forums.macromedia.com...
> ASP VBSCRIPT / SQL Server 2005 / Dreamweaver CS3
>
> We have an update page with an Dynamic List with the option for
> multi-selections allowed. The field is populated from a recordset. I want
> to
> highlight the options already selected. For example:
>
> say the recordset has the following options:
> - one
> - two
> - three
>
> and two and htree are already in the database: two, three
>
> How can i populate the list with two and three already highlightd
> (selected)?

Add a "selected" attribute to the options, use the Dynamic List/Menu
serverbehavior and enter the option "Select value equal to", it also works
with static options.