Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple validation script

Status
Not open for further replies.

eavan

Technical User
Aug 6, 2003
51
GB
Hi,
have very poor asp skills and am barely putting this together....basically i am trying to create a function that takes one argument from a form field, and returns true if the field has a value for an internet email address and false otherwise.....the valid email address should begin with letters...contains one @ sign...continues with more letters...ends with a full stop followed by 2 or 3 letters..basically if someone has anything simple that performs this function then it would be very much appreciated.
 
Instead of submitting the form to the web server and catching this on the ASP server side, I suggest using browser-side javascript and catching this one prior to the form submit.

Do a quick GOOGLE search on keywords:

javascript valid email address


One example of this is at this link:


Regards,
TR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top