Form field validation standards
I am looking for standard validation rules for form field validations that normally need to be done in web forms. Can anyone direct me to a resource for this information?
Thanks
Web Development
I am looking for standard validation rules for form field validations that normally need to be done in web forms. Can anyone direct me to a resource for this information?
Thanks
by donq
by dghosh
by andrew
The previous reply was correct. You have to look at your business logic semantics to determine this.
Some common rules are:
-disallow nulls or empty data
-validate date formats and ranges
-validate phone number formats
-validate ssn formats
-validate email formats
Provide as many elements as you can to limit users input to valid data. These can by dynamically populated based on other data.
by dghosh
by dghosh
This discussion is closed to new replies.
Sort by Trending