General discussion

Locked

Form field validation standards

By dghosh ·
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

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Form field validation standards

by donq In reply to Form field validation sta ...

Business Rules dictate Validation settings and they will be different from ASP to ASP.

Collapse -

Form field validation standards

by dghosh In reply to Form field validation sta ...

The question was auto-closed by TechRepublic

Collapse -

Form field validation standards

by andrew In reply to Form field validation sta ...

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 <SELECT> elements as you can to limit users input to valid data. These can by dynamically populated based on other data.

Collapse -

Form field validation standards

by dghosh In reply to Form field validation sta ...

The question was auto-closed by TechRepublic

Collapse -

Form field validation standards

by dghosh In reply to Form field validation sta ...

This question was auto closed due to inactivity

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums