If you want the users of the form to select one item from a list of
options, you can add a menu button to your form.
-
Click the menu buttons button
in the Form Tool window.
-
Enter a name for this item in the Field Name field.
This name does not appear on the form; it's stored in the HTML file.
The cgi-bin script uses this name to identify the information collected
from that field.
-
Begin creating the list of options for the menu button:
-
Click Selected if you want this item to be the default
selection.
-
Fill in the Value field if you want the data submitted
to the server to be different from the choices presented to the user.
For instance, you may ask people to indicate whether they prefer the
color purple or orange. Instead of returning "purple" or
"orange," you return "p" or "o." This
step is optional.
-
In the Label field, type the text that you want to
appear on the list.
-
Add other items to the list by clicking the Add After or Add
Before button.
New Value and Label fields appear. If they're
hidden, use the scroll bar to bring them into view. Create the list
item by following the instructions in step 3.
-
Delete items from the list if necessary.
To delete an item, first select it. In the Form Tool window , place the
cursor over the gray area to the right of the Selected
label. Click the left mouse button. A thin yellow line appears,
indicating the entry is selected. Click the Delete button
and that item disappears.
-
Click the Apply button to place the menu button on the
page.