I am using the jquery.validate plugin to validate the form that appears in the popup.
So how to remove validation for this form. i tried this
$("#close_button").click(function(){ var settings = $('form#user_form').validate().settings;
I need to remove the validation of my form. Help me. Thanks in advance...
Updated code ...
$("#close_button").click(function(){ $("form#user_form").validate().cancelSubmit = true; });
I also tried
<input type="button" class="cancel" name="close_button" id="close_button" value="Cancel">
I just added class cancellation to remove the confirmation of the group form.
My method does not work. Help solve this problem.
source share