validator - submitHandler gets called even though invalidHandler happened?
So. I have this php page that we load in an iFrame, calls a js file with validator working on it, worked fine forever, still works fine.
I made a copy of this page for another iFrame, same js files, same fields, almost identical basically accept that the labels and fields are now arranged in a table instead of paragraphs for a different look and feel. On this page though, when I do something that calls invalidHandler (like leave out a required field) I do get the error, but the page still submits! I have tried everything, and its driving me nuts. When I use the console in the browser (by hitting the submit button and then quickly hitting the stop button) it shows that invalidHandler ran, found 1 invalid field, then submitHandler ran!
I will attach the html that is output by the 2 different files, and the js file they both use. Any ideas?
P.S., yes there is a jquery in the onclick of the submit button for the "NotWorking" file, and some js at the top for disabling the back button, but I tried removing both of those already to make it closer to the original "Working" file and still no go.