You can simulate the default behavior of the jQuery plugin as follows:
Check if form valid; if you do not prevent the default action using preventDefault() :
$(document) .on('click', 'form button[type=submit]', function(e) { var isValid = $(e.target).parents('form').isValid(); if(!isValid) { e.preventDefault();
EDIT : this is useful if you want to fine-tune your validation test, that is, test certain controls conditionally.
source share