Validation of forms breaks Javascript

P

Paul Proefrock

It appears that if you require FrontPage2003 validation of certain form
fields, it will break some types of Javascript, ie: date-pickers that assign
a date to a given field.

I am not validating the date field but if I require validation (in
FrontPage) of any other field, it breaks the script.

Is there a workaround that I can use the FrontPage validation or am I forced
to use Javascript validation also?

thanks

Paul
 
T

Thomas A. Rowe

You would have to remove the FP validation script and then merge it with your custom script, so that
you are using a single script for the form. The main issue is the FP assign a name to the form, and
you can not change it.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
S

Steve Easton

It sounds as if the scripts are in conflict.
Have you tried changing function and / or variable names in the date picker
script??


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
R

Ratatooie

Paul Proefrock said:
It appears that if you require FrontPage2003 validation of certain form
fields, it will break some types of Javascript, ie: date-pickers that
assign a date to a given field.

I am not validating the date field but if I require validation (in
FrontPage) of any other field, it breaks the script.

Is there a workaround that I can use the FrontPage validation or am I
forced to use Javascript validation also?

thanks

Paul

If there's a form name variable in the date picker script, try adjusting it
to use the FrontPage form name. (FrontPage forces you to use a particular
form name to use validation.)
 

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