Getting Started

core.validator.notvalidated event

Triggered when a particular validator isn't ignored and will not be excuted
The event object contains the following properties:
Property Type Description
element HTMLElement The field element which is being validated
elements HTMLElement[] The field elements
field String The field name
validator String The validator name
Using the global script in the browser
            
const fv = FormValidation . formValidation (
document . getElementById ( 'demoForm' ) ,
{
...
}
) ;
fv . on ( 'core.validator.notvalidated' , function ( event ) {
...
} ) ;
Using the ES6 module
            
import { formValidation } from '/path/to/-validation/cjs/bundle/popular' ;
const fv = formValidation (
document . getElementById ( 'demoForm' ) ,
{
...
}
) ;
fv . on ( 'core.validator.notvalidated' , function ( event ) {
...
} ) ;
Using the npm package
            
import { formValidation } from '-validation/bundle/popular' ;
const fv = formValidation (
document . getElementById ( 'demoForm' ) ,
{
...
}
) ;
fv . on ( 'core.validator.notvalidated' , function ( event ) {
...
} ) ;