core.field.removed event
Triggered after removing a field
The event object contains the following properties:
| Property | Type | Description |
|---|
elements | HTMLElement[] | The field elements |
field | String | The field name |
options | Object | The 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