I am using jQuery show/hide functions on click, so when you click on the contact link it hides that div and then shows a contact form. Once you fill in the contact form and click submit it shows the thanks page div.
I am using validation from here: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ The problem is, is that I need it so when you click on submit on the contact form page it doesn't show and hide the div if the validation has failed as it does now. Is there anyway of making it so that I can only click the submit button or show hide the divs if validation is passed? Thanks