core.validator.disabled event

Triggered when a particular validator is disabled
The event object contains the following properties:
PropertyTypeDescription
elementsHTMLElement[]The field elements
fieldStringThe field name
formValidationCoreThe FormValidation instance
validatorStringThe validator name
Using in the browser
const fv = FormValidation.formValidation(
document.getElementById('demoForm'),
{
...
}
);
fv.on('core.validator.disabled', function(event) {
...
});
Using with ES6 module
import formValidation from 'formvalidation/dist/es6/core/Core';
const fv = formValidation(
document.getElementById('demoForm'),
{
...
}
);
fv.on('core.validator.disabled', function(event) {
...
});

See also