[Sigia-l] repost: asp.net form validation/error guidelines

Michael_Piastro at harte-hanks.com Michael_Piastro at harte-hanks.com
Tue May 27 10:20:26 EDT 2003


In the official asp.net web form validation tutorial:

http://www.aspng.com/quickstart/aspplus/doc/webvalidation.aspx

Microsoft demonstrates the built-in form validation capabilities of 
asp.net. In the most complete example provided:

http://www.aspng.com/quickstart/aspplus/samples/webforms/validate/VB/validator9.aspx

they seem to be demonstrating the following error guidelines:

1. List all required fields that have not been completed at the top of the 
form, preceded by the message "you must enter a valid value in the 
following fields"
2. Place a red asterisk to the right of all required fields (not labels) 
that have not been completed.
3. For invalid input (email address without @ sign, etc.) place a message 
prompting the user to supply valid input to the right of the field **when 
the cursor leaves the field.** An example is "Zip code must be 5 numeric 
digits".

Comments? Conformance to other guidelines? Thanks.

Michael Piastro
Information Architect
Harte-Hanks 





More information about the Sigia-l mailing list