wap3
09-02-2002, 01:02 PM
Hi I would like to know how I can validate the e-mail address submitted from my form. I have the following for some of the fields in my form to check if they are empty:
if ($fields{'County'} eq "") {
dienice("Please go back and enter your county. Then re-submit the form.");
}
How do I do it for an e-mail address so it checks if it has been entered properly, i.e. yourname@yahoo.com.
I done this in javascript before using regular expressions. But I have no idea in here.
Can anyone help ??
Thanks :thumbsup:
if ($fields{'County'} eq "") {
dienice("Please go back and enter your county. Then re-submit the form.");
}
How do I do it for an e-mail address so it checks if it has been entered properly, i.e. yourname@yahoo.com.
I done this in javascript before using regular expressions. But I have no idea in here.
Can anyone help ??
Thanks :thumbsup: