To give an example of using the standard browser alert box to notify the user that there are fields with JQuery validation errors - do this in the script that calls the JQuery validation. Replace 'yourFormID' by the ID of the form you want to validate:
<script>
$(document).ready(function () {
$("#yourFormID").validate({
invalidHandler: function (form, validator) {
var errors = validator.numberOfInvalids();
if (errors) {
var message = errors == 1
? 'One field is incorrect. It has been highlighted'
: errors + ' fields are incorrect. They have been highlighted';
alert(message)
}
}
});
});
</script>
This should pop up an alert when the form is submitted, showing the number of fields that have validation errors.