Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Dynamic List in UPDATE page

New Here ,
Nov 20, 2007 Nov 20, 2007
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)?
TOPICS
Server side applications
294
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 26, 2007 Nov 26, 2007
LATEST
"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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines