macromedia.dreamweaver.appdev
[Top] [All Lists]

Re: Dynamic List in UPDATE page

Subject: Re: Dynamic List in UPDATE page
From: "Joris van Lier"
Date: Mon, 26 Nov 2007 22:11:12 +0100
Newsgroups: macromedia.dreamweaver.appdev


"Mardirousi" <webforumsuser@xxxxxxxxxxxxxx> wrote in message news:fhvf2n$g2k$1@xxxxxxxxxxxxxxxxxxxxxxxx
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.

<Prev in Thread] Current Thread [Next in Thread>