Form will submit with or without validation.

G

Gil

My form validates in the first text field minimum characters = 2 if the user
types say two or more numbers the message box will politely ask for
characters.

Problem is in the second filed I am unable to validate what is being
entered. You can type anything in this text field numbers or characters and
the form accepts what has been typed and takes the user to the conifrmation
page.

So the question is how to ensure that an email address has been typed in
this submit reset text field.
 
M

MD Websunlimited

Hi Gil,

You can validate the syntax of the email address only, whether or not it is a valid "good" email address.
 
G

Gil

Tom -- frist of all thanks for the link.
I took the easy way... but all I want to do is validate syntax used in the
email field.

Tom [Pepper] Willett said:
You can't actually validate an email address as such, because the visitor
can put in anything he wants. He doesn't have to put a legit address in the
form.

But, study here:
http://msdn.microsoft.com/library/d...c_fpValidatingFormControlsUsingJavaScript.asp
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
----------
Gil said:
My form validates in the first text field minimum characters = 2 if the
user
types say two or more numbers the message box will politely ask for
characters.

Problem is in the second filed I am unable to validate what is being
entered. You can type anything in this text field numbers or characters
and
the form accepts what has been typed and takes the user to the
conifrmation
page.

So the question is how to ensure that an email address has been typed in
this submit reset text field.
 
G

Gil

Mike.. appreciate the help...
Yes, this is what I am after a way to validate the syntax in the email
address field before giving access to the confirmation page.
 
M

MD Websunlimited

You'll need to write JavaScript to accomplish or use a component such as J-Bots Email Validation component.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top