I am currently using the bassistance validation plugin for my forms. And I am using a pop-up modal dialog box to house a form that needs to be validated, but for some reason it
I solved a similar issue in 3 steps:
Attaching the validator to the form:
$('#your-form-id').validate();
When the Save button of your modal form is clicked, submit the form (the validator will be triggered):
buttons: {
"Save": function() {
$('#your-form-id').submit();
},
Move the submit logic to the validator submitHandler:
$('#your-form-id').validate({
submitHandler: function(form) {
// do stuff
}
});