Validate Email Addresses

S

SteveKMarshall

How can I validate an email address within a FrontPage form? I was thinking
of having a second "Re-enter" email box and then checking that the two are
identical. I've found JavaScript to do it, but nothing that seems to work if
FrontPage is validating other fields within the form.

I'm interested in any methods of checking/ensuring that the email address
entered is valid.

Thanks
Steve
 
T

Thomas A. Rowe

The only way is to apply the FP validation, view the form in IE, view
source, then copy the JavaScript generated by FP to notepad, then in FP
remove all of the grey webbot tags from your fields. Next add your custom
code the code you have in notepad, rename the script to something other than
what FP names it. Back in FP switch to HTML view, paste in your modified
code, and change the form name to match what you have named in the script.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
S

SteveKMarshall

Mike

I had come across that double check script, thanks, but couldn't figure out
how to get it to work when FrontPage was already validating other fields in
the form.

Steve
 
S

Stefan B Rusynko

You will have to remove FP validation (since it renames the form)
Open the page in browser and view source to copy the validation JavaScript
Then remove the FP validation and use the copied script as a guide to create your own

--




| Mike
|
| I had come across that double check script, thanks, but couldn't figure out
| how to get it to work when FrontPage was already validating other fields in
| the form.
|
| Steve
|
|
|
| | > Steve,
| >
| > Here is a double check script ...
| > http://javascriptkit.com/script/script2/verifyfield.shtml
| >
| > Mike,
| > http://FrontPageForms.com
| > Form Tutorials & Form Script Examples
| >
| > >-----Original Message-----
| > >How can I validate an email address within a FrontPage
| > form? I was thinking
| > >of having a second "Re-enter" email box and then checking
| > that the two are
| > >identical. I've found JavaScript to do it, but nothing
| > that seems to work if
| > >FrontPage is validating other fields within the form.
| > >
| > >I'm interested in any methods of checking/ensuring that
| > the email address
| > >entered is valid.
| > >
| > >Thanks
| > >Steve
| > >
| > >
| > >.
| > >
|
|
 

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