Keep forms as simple as possible, see form example for more information.
Please choose one or more options:
Please choose one or more options:
-
-
-
Please choose one or more options:
Please choose one or more options:
-
-
-
Use date picker for inputting date elements.
Use fieldsets to group related form controls. The first element inside a fieldset must be a legend
element that describes the group.
This element uses the native input: type='file'
. This is so the element gains focus when tabbing through the page. It also ensures the element functions when:
Enter your postcode without any spaces. For example, KY16 9AL.
Addons may be used when the input field is always going to be prefixed with a particular value, for example collecting only the username for an @st-andrews.ac.uk
email address.
£
.00
@st-andrews.ac.uk
You must use the .form-group
class to create spacing when wrapping label and input pairs.
for
attribute.
If you do ask for optional information, you must mark the labels of optional fields with (optional)
.
These let users choose a single option from a list.
These let users choose a single option from a list.
You may reveal an additional input field, depending on the radio button selected.
Please select your student status.
Please select your student status.
You may reveal an additional input field, depending on the option selected.
Please select your student status.
Please select your student status.
Allows for multiple lines of text.
limit-counter
.data-length='[limit]'
, this sets the character limit.<div class='textarea_feedback'></div>
.