Users make mistakes. Users submit data for processing – but is the data truly "ready"? Be certain!
When users enter data into a form, it must be validated – such as checking for required values being present, or for reasonable values (such a dates containing year, month and day info) or reasonable formats (such as lastname-comma-firstname if that's required).
Users make mistakes. Well-designed forms help users by using sensible autocompletion, reasonable defaults, and unambiguous values (eg Months as 'Jan' rather than '01' etc.) Well-designed and consistent validation further enhance users' workflow.
Improve upon the paper-form model. Web forms typically follow the mental model of a printed paper form that must be filled out, which is the main reason they are so successful – that is, users know what is expected, and what to do. However, interactive validation of forms should enhance the model rather than merely provide the recreation of a paper form. (See the related Responsive Disclosure pattern)
User-entered data can be injected into the system, and users can make mistakes. Any user-Entered data requires validation and "sanity checking" before submission of a form. This information needs to be presented in a logical and usable manner to enable the user to correct mistakes with minimal interruption.
TODO
Users make mistakes. Well-designed forms help users by using sensible autocompletion, reasonable defaults, and unambiguous values (eg Months as 'Jan' rather than '01' etc.) Well-designed and consistent validation further enhance users' workflow.
Specific tips related to error messages from form validation:
General techniques for form accessibility:
Validation
By Sami (not verified)This is a good article about validation and what humans think when they fill out forms. It's very important to make sure your forms are filled with proper data or your data processing could crash when submitting the data and storing it to database. Red, green and yellow colors are good indicators when form is filled and the input is validated like gmail is doing.
send me sample source code
By suri_295iam interested to learn Ui pattern design .Please send me the sample code to explore.......
Post new comment