Creating a dynamic HTML form menu

Creating a dynamic HTML form menu

You can dynamically populate an HTML form menu or list menu with entries from a database.

For most pages, you can use an HTML menu object. For ASP.NET pages, you must use a DropDownList or ListBox form control. For more information, see Building ASP.NET forms.

Before you begin, you must insert an HTML form in a ColdFusion, PHP, ASP, or JSP page, and you must define a recordset or other source of dynamic content for the menu. For more information, see Defining a recordset.

To insert a dynamic HTML form menu:

  1. Click inside the HTML form on your page.
  2. Select Insert > Form > List/Menu.

    Dreamweaver inserts a List/Menu form object into the page.

  3. Select the List/Menu form object.

    The Property inspector displays the List/Menu properties.

  4. In the Property inspector, click the Dynamic button to display the Dynamic List/Menu dialog box.

    This is a picture of the feature being described.

  5. Complete the dialog box and click OK.

    For more information, see Setting the Dynamic List/Menu dialog box options.

Related topics

  • Making existing HTML form menus dynamic


Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Defining Sources of Dynamic Content
Developing Applications Rapidly