I have one form with around 50 fields and two submit buttons, \"SAVE\" and \"SAVE & SUBMIT\". If the user clicks \"SAVE\", then validate only some values, eg. field1, fi
If you will use the same validation, maybe you should this code:
Insert an hidden action, to say the validation the method to use after we click the button
Then in your submit Handler:
submitHandler: function (form, event) {
var action = $("#formPagoContratista #action").val();
if (action === "action_1") {
firstFunction();
}else if (action === "action_2") {
secondFunction();
}
}