core.validator.validating event

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

See also