Forum Moderators: open
I've developped a form that requires data input validation as well as accepting terms before submitting.
Data input validation worked well. Then I added some Java script to require aceptance. Now that works well, but the form no longer requires data input validation. I checked the code. It looks good to me. It just seems like the <accepatance> script overides the input validation code.
I've made up a rudimentary working form to troubleshoot with.
[touringsmart.com...]
Anyone have any thoughts?
I appreciate any input!
If I understand correctly, you need to
- combine the 2 forms into one,
- and combine the two functions, or try: onsubmit="return validFn(this) && checkBoxFn(this);"