• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 18. Creating a Form and Collecting Data > Adding Lists and Menus to Forms

Adding Lists and Menus to Forms

Some form objects work better than others in certain situations (for example, selecting 1 of the 50 states for a U.S. address). If you allowed the user to enter a state in a text field, you might get some users entering the full name, like Washington; other users entering the correct postal abbreviation, like WA; and other users entering anything in between. Allowing the user to select from a drop-down menu helps you collect consistent data. In Dreamweaver, you add drop-down menus by using the List/Menu object.

The List/Menu object inserts a list of values. You create the List/Menu object as either a list, displaying a set number of lines, or a menu, a drop-down menu displaying all the list values. Figure 18.13 shows a list and a menu in a form displayed in a browser.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint