7.9. Provide explicit error messages and suggestions for correcting errors
Whenever there is a possibility that a form returns errors, the following items must be provided:
- Explicit error messages.
- Suggestions for correcting errors.
These items must be positioned in one of the following places:
- At the beginning of the form.
- At the level of each form field.
- In both places at the same time.
Error messages must be explicit. In other words, the user must understand the cause of the error and be able to identify the field, just by reading the error message.
Suggestions for correcting errors that are caused by entering data in an incorrect format must be provided.
Error messages should not disappear automatically. Messages should only disappear on a user action (closing button, new page, new form submission, etc.)