I am using trhe followinf jQuery to hide the form apart from the header of the form:
jQuery('#primary .gform_wrapper').not('.page-contact-us #primary .gform_wrapper').hide();
jQuery("#primary .gform_widget h3").click(function(){
// slide toggle effect set to slow you can set it to fast too.
jQuery('#primary .gform_wrapper').slideToggle("slow");
return true;
});
When a form errors ie a field is missed is there a way to capture that so i can make sure the form is not closed and hidden ?