Add a drop-down box to a form

Microsoft Office FrontPage 2003

  1. Click in the form where you want to place the drop-down box.

    If you are inserting a form field but have not already created a form, Microsoft FrontPage automatically creates a form area and inserts the field inside that form area. The form area appears as a dashed line when you are editing the page.

  2. On the Insert menu, point to Form, and then click Drop-down box.
  3. Type the label beside or above the drop-down box on the form.

ShowSet the properties of a drop-down box

  1. Double-click the drop-down box.
  2. In the Name box, type a name to identify the drop-down box.

    For your form to work correctly, you need to use a unique name for this form field.

  3. Click Add to add the choices you want to display in the drop-down box.
  4. In the Choice box, type an option you want to display in the drop-down box.

    If you want the value for this choice to be different from the text displayed in the drop-down box itself, select Specify value, and then type the value in the box.

    For example, a choice in the menu could be John, but the value returned in the form results could be me.

  5. Click Selected under Initial State if you want the choice to be selected by default when a site visitor first opens the form.
  6. Click OK.
  7. Repeat steps 3 through 6 for each choice you want to add.
  8. To change the order in which choices are displayed, click a choice in the list, and then click the Move Up or Move Down button.
  9. In the Height box, type how many lines of text you want to show in the drop-down box.

    For example, if the drop-down box has three options, you can set the height to 3 so that all choices are visible.

  10. Click Yes under Allow multiple selections if you want to allow multiple selections in the drop-down box. If you click No, the site visitor will be able to make one choice only.
  11. Click the Style button to access other options for formatting your form using cascading style sheets as an inline style.