dgarzoli
01-10-2008, 06:34 AM
1) Script Title: required field check
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex16/requiredcheck.htm
3) Describe problem: I got the validation to work, but when all fields ARE completed and submit is pressed, the form reloads/resets itself and posts the form code into the address bar.
I think it is because I don't understand where to place the
<form name="Signups" onsubmit="return formCheck(this);">
tag..
Here is a link to my form page WITHOUT the above tag. You can fill it out or not and hit submit and the form works.
http://www.ukiahspeedwaymx.com/signupO3.htm
Here is the same page with the onsubmit tag added on right after the
<form METHOD=POST ACTION="/cgi-bin/FormMail"> TAG . The mandatory field window pops up as designed but once the fields are filled in, like I said, above it reloads the page and appends all the formail code into the address bar.
http://www.ukiahspeedwaymx.com/signupO2.htm
Thanks for your help.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex16/requiredcheck.htm
3) Describe problem: I got the validation to work, but when all fields ARE completed and submit is pressed, the form reloads/resets itself and posts the form code into the address bar.
I think it is because I don't understand where to place the
<form name="Signups" onsubmit="return formCheck(this);">
tag..
Here is a link to my form page WITHOUT the above tag. You can fill it out or not and hit submit and the form works.
http://www.ukiahspeedwaymx.com/signupO3.htm
Here is the same page with the onsubmit tag added on right after the
<form METHOD=POST ACTION="/cgi-bin/FormMail"> TAG . The mandatory field window pops up as designed but once the fields are filled in, like I said, above it reloads the page and appends all the formail code into the address bar.
http://www.ukiahspeedwaymx.com/signupO2.htm
Thanks for your help.