core.form.reset event

Triggered after reseting the form
The event is triggered after reseting the form via the resetForm() method.
The event object contains the following property:
PropertyTypeDescription
resetBooleanIf true, the method resets field value to empty or remove checked, selected attributes
Using in the browser
const fv = FormValidation.formValidation(
document.getElementById('demoForm'),
{
...
}
);
fv.on('core.form.reset', function(event) {
...
});
Using with ES6 module
import formValidation from 'formvalidation/dist/es6/core/Core';
const fv = formValidation(
document.getElementById('demoForm'),
{
...
}
);
fv.on('core.form.reset', function(event) {
...
});