Bootstrap 3 jQuery Validator Defaults

The following can be used with a Bootstrap 3 Horizontal Form. jQuery.validator.setDefaults({ debug: true, errorClass: 'has-error', validClass: 'has-success', ignore: "", highlight: function (element, errorClass, validClass) { $(element).closest('.form-group').removeClass('has-success').addClass('has-error'); }, unhighlight: function (element, errorClass, validClass) { $(element).closest('.form-group').removeClass('has-error').addClass('has-success'); $(element).closest('.…