Email Address format???Edit: form validation...
Posted: Fri Jun 16, 2006 7:56 pm
How do I check if a input field was given the value of an email address format (i.e. emailaddr@webpage.com), by the user? I'm doing a sign-up page and need to make sure the type an email address in one of many fields and that it be correctly formatted.
I'm sure there's a way of doing this that is commonly used. Thanks in advance.
Edit: I forgot to mention the other input fields in the form that need to be validated, which are:
Phone number: which would look something like "740-899-3777"
Zip: which need to be numbers.
I'm sorry I forgot to mention this. But thanks for the posts and I'll be checking back occasionally.
Thanks.
I'm sure there's a way of doing this that is commonly used. Thanks in advance.
Edit: I forgot to mention the other input fields in the form that need to be validated, which are:
Phone number: which would look something like "740-899-3777"
Zip: which need to be numbers.
I'm sorry I forgot to mention this. But thanks for the posts and I'll be checking back occasionally.
Thanks.