form validation for two identical text boxes

1

1 Just Jeff

Hi,

I am using FP2000 with Win98.

I have several course web sites on the college's server - many with forms -
which are working fine.

What I would like to know is if there is a way to have a form validation for
a specific text field that can be set to check itself (or set to be equal
to) another form text field?

To be more specific, I would like students to enter their e-mail addresses
twice in two different text boxes - such that the 2nd box would compare its
entered data with the previous box. Any ideas?

Thanks,
Jeffrey
 
T

Thomas A. Rowe

You would have to write a custom JavaScript validation to handle this, also
doing so will require that you also handle all validation on the form via
your custom validation script, as you can not mix it with the one generated
by FP.

--

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

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

1 Just Jeff

Hi Thomas,
I want to thank you for this help and also for earlier help you have
provided. I appreciate it. In this specific case, I am glad to also know the
second part about not mixing validations.
-Jeff
 
J

Jim Buyens

-----Original Message-----
Hi,
Howdy.

I am using FP2000 with Win98.

I have several course web sites on the college's server -
many with forms - which are working fine.

What I would like to know is if there is a way to have a
form validation for a specific text field that can be set
to check itself (or set to be equal to) another form text
field?

To be more specific, I would like students to enter their
e-mail addresses twice in two different text boxes - such
that the 2nd box would compare its entered data with the
previous box. Any ideas?

The validation built into FrontPage doesn't have this
capability. You would need to program it yourself in
JavaScript or in a custom form handler (i.e. in ASP or
ASP.NET.)

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 

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