+ Reply to Thread + Post New Thread
Results 1 to 5 of 5

Thread: How to do email vaildation in javascript?

  1. #1
    Noobie
    Join Date
    Apr 2008
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to do email vaildation in javascript?

    How do you create in javascript to do email vaildation? to check

    must contain 1 @
    must contain 1 letter before the @
    must contain 1 letter after the @
    must not contain spaces, slash, colon, comma or semicolon

    if the any of the rules are wrong it will alert the user saying "Invalid Email"

  2. Shorten URL    SEO Services    Buy Xrumer

    Sponsored Links

  3. #2
    Noobie
    Join Date
    Apr 2008
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    http://www.google.com/search?q=javascript+email+validation

    _Austin

  4. #3
    Noobie
    Join Date
    Apr 2008
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Just make sure that you check if javascript is enabled in the first place, and always validate everything server side as well. Javascript validation should only be used to add user-friendliness, (no page refresh) but don't depend on it.

  5. #4
    Noobie
    Join Date
    Apr 2008
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    1 point after @ etc. be careful for the ending after the point must be 2,3 or 4 chars

  6. #5
    Junior SEO Specialist
    Join Date
    Oct 2011
    Posts
    149
    Thanks
    0
    Thanked 0 Times in 0 Posts

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts