We help IT Professionals succeed at work.
Get Started

Javascript in HTML form apparently interfering with jQuery validation

279 Views
Last Modified: 2012-04-20
expexc-04-17.txtGreetings.  I'm running into an apparent conflict between a pair of javascript functions I'm using in an HTML form and the function I use to run jquery.validate.

In my form, a pair of radio buttons allows users to toggle visiblity between two portions of the page. One portion allows the user to input check information, while the other portion allows the input of financial certificate info.

Each portion contains a unique submit button.  Once a submit button is clicked, the page will process the data entered and then reload, displaying only the portion of the form intially selected.  So, for example, if you initially submitted check info, once the page reloaded you would be able to submit more check info, but nothing about certificates.

I have found when the user clicks a submit button for the first time, the javascript function that calls jquery.validate is keeping the page from submitting.  If I can get past this point, the validation is fine.

I've attached a file with the relevant pieces of code. Let me know if you need anything else, and thank you very much for your help
Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE