I'll try to explain this the best I can.
I have about 42 PHP forms on our web site that are all validated using a validate.js script to ensure the required fields are populated. The top half of the form is the same for all forms so its included to the form when the user selects the specific form. What I discovered was almost all the forms have a Diagnosis text field however ther are about 10 forms that do not have this field because it's not required so when the js tries to validate the forms without the diagnosis text field it's stops validating that form. So I added this line into the js to see if it would help resolve the problem: No luck.

No error messages.
The scritp passes the form to the next step (2 of 3) of the form process. You can see how this works form our web site. Go to https://www.childrensdayton.org/OnlineR ... _list1.php and select the Nutrition form from the list. If you hit submit you will see the script ask to fill in hte contact person then sit submit again, the script ask for state hit submit again and the form excepts the input and goes to step 2. As compared to the first form in the list "Adolescent Headache Clinic" it checks all the fields befor egoing to step 2.

There is a javascript error on line 335: 'DiagnosisText.value' is null or not an object. If a Javascript error occurs, it doesn't continue to "return false" (or anything else) and thus the form is submitted.