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:
-
-
-
Smaller checkboxes can be used when these elements need to be less visually prominent.
ExamplePlease choose one or more options:
Please choose one or more options:
-
-
-
Smaller checkboxes can be used when these elements need to be less visually prominent.
ExamplePlease choose one or more options:
Please choose one or more options:
-
-
-
Use date picker for inputting date elements.
Example
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.
Example
Please select your student status.
Please select your student status.
You may reveal an additional input field, depending on the option selected.
ExamplePlease select your student status.
Please select your student status.
Allows for multiple lines of text.
Example
limit-counter.data-length='[limit]', this sets the character limit.<div class='textarea_feedback'></div>.