It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Partner Sites
Board index Programming JavaScript Forum

Email validation javascript code

Email validation javascript code

Postby sachi on Sun Oct 11, 2009 9:14 am

I need to Write JavaScript Code to force the User to input a VALID EMAIL ADDRESS using a Prompt Box:

Using the following:
(1) There should be an @ character.
(2) There should be a . character.
(3) The @ should occur BEFORE the last . character.
(4) There should be alphanumeric (a-z A-Z 0-9 only) text BEFORE the @ character.
(5) There should be alphanumeric text BETWEEN the @ and . characters.
(6) There should be alphanumeric text AFTER the . character.
(7) There should be a DISTINCT ALERT MESSAGE for each of errors (1)-(6).


Thanks.
Sachi
sachi
 
Posts: 1
Joined: Sun Oct 11, 2009 9:08 am

Return to JavaScript Forum

Who is online

Users browsing this forum: No registered users and 6 guests