T
Toby Miller
I have this form validation that I'm trying to build, but it's not
working properly. A dynamic function to the onsubmit event for a form.
the result of that function (true/false) should then be returned to
pass or fail the submission of that form.
What is happening is that in Firefox and IE returning false doesn't
stop the form submission. In IE the dynamic function just doesn't work.
If I attach a smaller dynamic function to the form onsubmit handler
then it does work.
Here's the problem page:
http://www.tobymiller.com/js/validation.htm
Any ideas?
-tm
working properly. A dynamic function to the onsubmit event for a form.
the result of that function (true/false) should then be returned to
pass or fail the submission of that form.
What is happening is that in Firefox and IE returning false doesn't
stop the form submission. In IE the dynamic function just doesn't work.
If I attach a smaller dynamic function to the form onsubmit handler
then it does work.
Here's the problem page:
http://www.tobymiller.com/js/validation.htm
Any ideas?
-tm