Form Validation
From Interaction-Patterns.org
Contents |
[edit] Form Validation
[edit] Quick Summary
The user needs help correcting information when filling out a web form.
[edit] Visual Examples
Is still missing. Please add links here if you find a suitable example.
[edit] Examples found on the World Wide Web
YMMD with that awnser! TX
[edit] Possible Solution
- Validate information before the user submits with a button. The Auto-complete pattern is particularly helpful here.
- If there is invalid or missing data, provide a clear message next to those fields that need attention.
- For additional visual indication, use color or an asterix to draw attention to a problem.
- If form processing takes several seconds, provide a message indicating the system is still processing either with text or visual or both. (Example: "Processing information" or "Attempting to save data".)
- Once all information is correctly entered, display it and give users a chance to edit any information that may be correctly entered as far as the application is concerned, but may be incorrect.
[edit] Rationale
- Without feedback, users will not know if their data is incorrect.
- By providing visual clues to where the data is incorrectly entered or missing, the application guides the user through the process of quickly correcting the errors.

