susanahernandezd
5/4/2017 - 11:36 AM

Fire bootstrap validations by field (jqBootstrapValidation)

Fire bootstrap validations by field

var $inputs = $("#my-text-field");
$inputs.jqBootstrapValidation(); // set up; ideally only called on each field once

// triggers the field(s) to show the error-state if something is wrong
$inputs.trigger("change.validation", {submitting: true});