When you think ASP, think...
Recent Articles
All Articles
ASP.NET Articles [1.x] [2.0]
ASPFAQs.com
Message Board
Related Web Technologies
User Tips!
Coding Tips
Search

Sections:
Book Reviews
Sample Chapters
Commonly Asked Message Board Questions
Headlines from ASPWire.com
JavaScript Tutorials
MSDN Communities Hub
Official Docs
Security
Stump the SQL Guru!
Web Hosts
XML Info
Information:
Advertise
Feedback
Author an Article
Technology Jobs



















internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers
ASP ASP.NET ASP FAQs Message Board Feedback ASP Jobs
Print this page.

Sr C#/ASP.net Developer - Great opportunity w/ stable, growing company!
Next Step Systems
US-IL-Oak Brook

Justtechjobs.com Post A Job | Post A Resume

Email Address Valdation


Axiom 1: If you're going to gather information on your users, make sure it's valid information.

If you're going to use FORMs to collect your user's information, it is important that you validate this information. Validation can be done in one of two ways, through client-side validation (i.e. JavaScript) or through server-side validation (ASP).

If you want to validate your user's email you need to check for a few things. The @ symbol, at least one period, at least one character before the @ symbol, at least one after before the period, and at least one after the period. Here are two server-side scripts which will help you validate email!

  • Ian Stallings JScript/Regular Expression Email Validation Routine
  • Ben Durbin's Email Validation Routine
  • Joao Vieira's Email Validation Routine
  • You can also validate email through client-side validation using JavaScript. Here is an article discussing that approach:

  • Form Validation with JavaScript
  • Happy Programming!

    Validation Articles
    For more information on email address and form validation, check out these great articles!

  • The Forgotten Art of Email Address Validation
  • ASP/JScript Email Validation
  • A Server-Side Email Validation Routine
  • Another Email Validation Routine
  • Form Validation Using JavaScript
  • Using the Dictionary Object Data Collection and Validation

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

    internet.comearthweb.comDevx.commediabistro.comGraphics.com

    Search:

    Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

    Jupitermedia Corporate Info

    Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
    Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers