When you think ASP, think...
Recent Articles
All Articles
ASP.NET Articles
Message Board
Related Web Technologies
User Tips!
Coding Tips

Sample Chapters
Commonly Asked Message Board Questions
JavaScript Tutorials
MSDN Communities Hub
Official Docs
Stump the SQL Guru!
XML Info
Author an Article
ASP ASP.NET ASP FAQs Message Board Feedback
Print this page.
Learn More about Form Validation!

A database (and therefore an ASP data-driven site) is only as good as the data within it. For example, if you collect information from your users (like an eCommerce site, let's say), and your users enter incorrect or malformatted data (such as an incorrect email address or an invalid zip code), the data is as good as garbage.

For that reason, it is important that you verify that the data entered from your users is, at minimum, in the correct format. This process is known as form validation and can occur in two places: through client-side scripting code on the user's browser (known as client-side form validation) and on an ASP page before submitting the data to the database (known as server-side form validation). The articles linked to here provide information on both form validation techniques and are all definitely worth a read!

Client-Side Form Validation

  • Validate Numeric Fields with JavaScript
  • Dynamic Client-Side Scripting
  • Client-Side Form Validation Using JavaScript
  • Client-Side JavaScript Tutorials and Articles
  • JavaScript Field Validations
  • Confirming Deletes Before Submitting the Form (with JavaScript)
  • Confirming Deletes Before Submitting the Form (with VBScript)

    Server-Side Form Validation

  • Server-Side Form Validation Example
  • Dynamically Generated and Validated Forms
  • Server-Side Form Validation
  • Using the Dictionary Object for Data Collection and Validation
  • Checking a String for Certain Characters
  • Using Regular Expressions to Validate Input
  • The Forgotten Art of Email Address Validation

    ASP.NET Form Validation Articles (for more information on ASP.NET visit the ASP.NET Article Index!)

  • Form Validation with ASP.NET: It Doesn't Get Any Easier!

    Previous Email: Sending email with ASP Return to the Learn More Index Graphing with ASP Next

  • ASP.NET [1.x] [2.0] | ASPMessageboard.com | ASPFAQs.com | Advertise | Feedback | Author an Article