|
Home > Advanced Options & Appendixes > Advanced Options in the Website Registration Form > Combo box
Combo box
Combo box allows also choosing only one value from few possible values. Note that this is the default form of field for closed fields.
In order to set this type of field use the following code:
<select name=field8><option value="18-25">Age of 18-25</option><option value="25-40">Age of 25-40</option><option value="40-120">Age of 40-120</option></select>
This an example for combo box for an age field. Each option has its own <option> tag. The name tag again contains the name of the field. The value field is the value we want to put into the recipient's details, while the following text (in this example, "Age of...") is the text displayed to the recipient in the registration form (will not appear in the recipient's details).
See also
|