Errors
Text input
Example
This field is required.
<div> <label class='form'>Text input</label> <input type='text' class='form error'> <span class="form">This field is required.</span> </div>
Textarea input
Example
This field is required.
<div> <label class="form">Textarea input</label> <textarea class="form error"></textarea> <span class="form">This field is required.</span> </div>
Select input
Example
This field is required.
<div> <label class="form">Select input</label> <select class="form error"> <option>Select</option> <option>First option</option> <option>Second option</option> </select> <span class="form">This field is required.</span> </div>