I am using validation.Engine from Github.
Have used this for a while now and performs every time.
Having a problem with my current project that uses .submit ajax.
The form (if validation fails) still calls the .submit handler.
$("#Customer").validationEngine('attach');
$('#Customer').submit(function(e){
e.preventDefault();
$('#cboxOverlay').hide();
$('#colorbox').hide();
var $regform = $("#Customer");
var sData = $regform.serialize();
$.ajax({
type: 'POST',
dataType: 'text',
url: 'ajax/set-booking.php',
data: sData,
success: function () {
}
});
});