1.4

l
Wrap input with label places the input element inside the Label element.
l
Attach label to input ties the label to the input element using the for attribute of
the Label element.
l
Use label as placeholder inserts the given label text in the placeholder attribute of
the field.
l
No style omits the label altogether.
Note
4. The following options are only available for specific elements:
l
For a Text Area you can specify a number of rows.
l
For a Radio Button, the submit name indicates to which Radio Button Group the
Radio Button belongs.
l
For a Button, Checkbox, Hidden Field, and Radio Button you can set the value.
The value is associated with the input and will be sent on submitting the Form.
Tip
l
For a Checkbox or Radio Button you can check checked or selected respectively
for the element to initially be checked/selected when the web page is shown.
l
For a Button, you can set the button type:
l
Submit: The button will validate the form data and if validation is successful,
send the data to the provided URL (the action specified for the Form; see
"Changing a Form's properties" on page 271).
l
Reset: The button will reset the form to its original configuration, erasing any
information entered and options provided. Note: This cannot be undone!
5. Depending on the validation method of the form (see "Form Elements" on page 272) and
the type of element there are a number of options to set under Validation. With Browser
validation you can only make a field required and set a maximum length.
Page 276