Field Level Errors
These errors are contextual and placed directly below a form field. They may also be used for live feedback on the successful status of a field, such as password strength or password confirmation. The information will provide a visual cue that the field in question needs to be adjusted through user input to successfully submit the form.
If a field-level error is needed, add a containing div with class .field-validation-feedback
. Inside the container, add another div with class .field-validation
. This will handle the placement of any field validations that are needed. If feedback (i.e., character count) is needed for the field, then add that element as a sibling of the .field-validation
container.
The error feedback is placed in a the field feedback section, which is described in detail in the Molecules section.