Form Tags: Multiple Select

 

Form Tags

 

MULTIPLE SELECT

The Multiple Select tag lets you create a scrolling list of items to choose from. You can allow more than one item to be selected from the list. This control is useful if you have a list of many items. With Multiple Select, you can have no options selected as the default, allowing your visitors to skip over the question.

Example Multiple Select:

What colors do you want for your bathroom?

 

Here's the html code:

<P>What colors do you want for your bathroom?<SELECT NAME="Bathroom colors" SIZE=5 MULTIPLE>
<OPTION>White
<OPTION>Red
<OPTION>Green
<OPTION>Black
<OPTION SELECTED>Bronze
<OPTION>Copper
<OPTION>Coral
<OPTION SELECTED> Olive Green
<OPTION>Cyan
<OPTION>Yellow
</SELECT>
</P>

 

 

Parts of the Multiple Select Tag

HTML Label (Example: "What colors do you want for your bathroom?")

Multiple Select controls are labeled with regular html text so your visitors can understand what information they are expected to provide. You can put your label before or after the tag.

Note: The label is not actually part of the Multiple Select tag itself and is not included in the form data sent to Response-O-Matic.

NAME="anytext"

The NAME is used by the Thank You page and email as a label for the information received by the Multiple Select control.

SIZE=anynumber

The SIZE value shows how many items will appear at once in the scrolling menu.

<OPTION>anytext Required

You can have as many items in the menu as you want, with each item following a new <OPTION> tag.

MULTIPLE Optional

Adding this tag will allow your visitors to choose more than one item from the list. To permit just one selection, don't use MULTIPLE.

Note: How multiple selections are made by your visitor depends on the browser being used, and the type of computer. With a PC, using the right mouse button will probably select additional items. On a Mac, clicking with the Shift or Option keys will do it.

<OPTION SELECTED> Optional

The menu item following the <OPTION SELECTED> tag is the default choice. You can have more than one <OPTION SELECTED>.

 

Notes

The Multiple Select element uses the same syntax as Select. The only difference is the addition of the SIZE command. Take out to change the control to a drop down menu.

 

 

 


Select


Home


Hidden