G
Guest
Hello:
I read some of the earlier posts about adding a script to verify the
correctness of an entered e-mail - not for syntax but simply to compare the
"Email" and "Re-enter Email" fields.
Well, I have followed your advice and the script works. The problem I have
is that it overrides all other requirements of the form. For example, before
placing this new code the form would check whether all required fields were
filled out when pressing the submit button (and the new page would not load).
Now with the new script installed I can get to the confirmation page even
leaving all fields blank (gr-r-reat email check!)
I suspect that there is something wrong with the webbot-onSubmit="return
checkPw(this); FrontPage_Form1_Validator(this);" I am not a novice and do not
know whether this is a valid syntax at all.
If anyone has a minute, could you please check these 2 URLs:
http://www.travelinrussia.com/russian_cruise_shore_excursions/book_tour.html
(the original page pre-code with all required fields being checked on-submit)
http://www.travelinrussia.com/russian_cruise_shore_excursions/book_tour2.html (same page after placing the code)
Ideally, I would like to combine the functionality of both (i.e. all
required fields would be checked for being filled + Email verified) PLUS not
to allow submitting blank forms.
Thanks a bunch!
I read some of the earlier posts about adding a script to verify the
correctness of an entered e-mail - not for syntax but simply to compare the
"Email" and "Re-enter Email" fields.
Well, I have followed your advice and the script works. The problem I have
is that it overrides all other requirements of the form. For example, before
placing this new code the form would check whether all required fields were
filled out when pressing the submit button (and the new page would not load).
Now with the new script installed I can get to the confirmation page even
leaving all fields blank (gr-r-reat email check!)
I suspect that there is something wrong with the webbot-onSubmit="return
checkPw(this); FrontPage_Form1_Validator(this);" I am not a novice and do not
know whether this is a valid syntax at all.
If anyone has a minute, could you please check these 2 URLs:
http://www.travelinrussia.com/russian_cruise_shore_excursions/book_tour.html
(the original page pre-code with all required fields being checked on-submit)
http://www.travelinrussia.com/russian_cruise_shore_excursions/book_tour2.html (same page after placing the code)
Ideally, I would like to combine the functionality of both (i.e. all
required fields would be checked for being filled + Email verified) PLUS not
to allow submitting blank forms.
Thanks a bunch!