Group Input Types

HTML Conversion for Fields with Web Attributes

Input Type

HTML Element

Mapped on HTML Tags

List box

<select name="field value of the field under Group Name">
   <option
value="
field name(1)"
selected (if
Default is marked for this field)> (field value for option)

   <option value="field name(2)"> (field value for option text)
   <option value="
field name(3)"> (field value for option text)
...
   <option value="
field name(N)"> (field value for option text)

</select>

Radio button

<input
   checked
(if Default is marked for this field)
   name="field value of the field under Group Name"
   type="radio"
   value="
field name
(1)"> [text in text node]

<input name="group name" type="radio"
       value="
field name
(2)"> [text in text node]
...
<input name="group name" type="radio"
       value="
field name
(N)"> [text in text node]

You define a field GROUP and assign the value RADIO to it before the text node containing the Web attributes. Then, you group the three fields OPTION1, OPTION2, and OPTION3 together in a list box by setting the input type List box for them and entering GROUP under the group name. On the Web form, the user sees the field values of OPTION1, OPTION2, and OPTION3. If the user selects OPTION1, the browser passes the name/value pair RADIO=OPTION1. For radio buttons (input type Radio button), the browser would pass <field value of the group name >=<name of the field name for the radio button >.