Email Validation to

Results 1 to 3 of 3

Thread: Email Validation to

  1. #1
    Andy Yipp Guest

    Default Email Validation to

    Hello,<BR>Can anyone tell me how to validate an email ( in vbscript or jscript? Is there any site where I can get some help?<BR><BR>Thanks.

  2. #2
    Join Date
    Dec 1969

    Default RE: Email Validation to

    I have seen that all over,<BR><BR>I have used javascript, but or or learnasp must have something on it.<BR><BR>sorry i cant remember the exact place

  3. #3
    Rob Guest

    Default RE: Email Validation to

    Maybe something like this....<BR><BR>function checksubmit()<BR>{<BR> // check to see if email address field is of valid syntax<BR> substremail = document.formname.emailaddress.value.split("@")<BR > if (substremail.length &#062; 1)<BR> {<BR> index = substremail[1].indexOf(".")<BR> if (index == -1)<BR> {<BR> document.formname.emailaddress.focus()<BR> return false<BR> }<BR> else<BR> {<BR> return true<BR> }<BR> }<BR> else<BR> {<BR> document.formname.emailaddress.focus()<BR> return false<BR> }<BR>} <BR><BR><BR>Regards,<BR>Rob

Posting Permissions

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