core.field.removed event

Triggered after removing a field
The event is triggered after removing a field via the removeField() method.
The event object contains the following properties:
PropertyTypeDescription
elementsHTMLElement[]The field elements
fieldStringThe field name
optionsObjectThe field options
Using in the browser
const fv = FormValidation.formValidation(
document.getElementById('demoForm'),
{
...
}
);
fv.on('core.field.removed', function(event) {
...
});
Using with ES6 module
import formValidation from 'formvalidation/dist/es6/core/Core';
const fv = formValidation(
document.getElementById('demoForm'),
{
...
}
);
fv.on('core.field.removed', function(event) {
...
});

See also