Skip to Main Content
Adobe® Dreamweaver® CS4 Bible
book

Adobe® Dreamweaver® CS4 Bible

by Joseph Lowery
March 2009
Beginner to intermediate content levelBeginner to intermediate
1321 pages
46h 24m
English
Wiley
Content preview from Adobe® Dreamweaver® CS4 Bible
1195
Handling Server Behaviors
34
To link a drop-down list to dynamic data, follow these steps:
1. Insert a list/menu form element on a dynamic page with a recordset.
2. If you have more than one list/menu on the page, select the one you want to convert.
3. From the Server Behaviors panel, choose Dynamic Form Elements ➪ Dynamic List/Menu.
The Dynamic List/Menu dialog box, shown in Figure 34-18, is displayed.
FIGURE 34-18
Lists give the user a series of items from which to choose.
4. Verify that the desired drop-down list is displayed in the Menu list.
5. In the Static Options box, add any nondynamic items you want to the top of the list menu.
This could be something as simple as a label for the list menu or as complicated as a full
URL with query strings for search pages.
6. Choose the recordset you want to work with from the Options From Recordset list.
7. Choose the field from your data source containing the items that you want displayed to the
user from the Labels list.
8. Choose the field from your data source containing the items you want submitted by the
user from the Values list.
9. To preselect an item, enter its value in the Select Value Equal To field or use the lightning
bolt icon to choose a value from the established data sources.
10. Click OK when you’re finished.
For more information on the Dynamic List/Menu server behavior, see Chapter 23.
CROSS-REF
CROSS-REF ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Adobe® Dreamweaver® CS5 Bible

Adobe® Dreamweaver® CS5 Bible

Joseph W. Lowery
Dreamweaver® CS3 Bible

Dreamweaver® CS3 Bible

Joseph W. Lowery

Publisher Resources

ISBN: 9780470382523Purchase book