afterValidate
fires after validation of form fields is finished
afterValidate: (name: string, value: any, isValid: boolean) => void;
Parameters:
name|id: string
- the name (or id, if the name is not specified) of the Form controlvalue: any
- the value to be validatedisValid: boolean
- the result of validation
Example
form.events.on("afterValidate", function(name, value, isValid) {
console.log("afterValidate", name, value, isValid);
});
Related sample: Form. Events
Change log:
added in v7.0