troubleshooting Question

Javascript in HTML form apparently interfering with jQuery validation

Avatar of LincolnWeb
LincolnWeb asked on
Web Languages and Standards
4 Comments1 Solution281 ViewsLast Modified:
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

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros