Validation and errors
Validating input and helping users recover from errors.
How to prevent errors, and help users recover when they happen.
Preventing errors
Section titled “Preventing errors”To be written: Constraints, sensible defaults and clear formats that prevent errors in the first place.
When to validate
Section titled “When to validate”To be written: On blur, on submit or while typing, and when each is appropriate.
Field errors
Section titled “Field errors”To be written: Showing errors next to the field, and what the message should say.
Form-level errors
Section titled “Form-level errors”To be written: Summarising errors in long forms and moving focus to the first error.
System and server errors
Section titled “System and server errors”To be written: Errors that aren’t the user’s fault: connection problems, timeouts and conflicts.