Skip to main content

afterValidate

fires after the control value is validated

afterValidate: (value: {[id: string]: boolean | string}, isValidate: boolean) => void;

Parameters:

  • value: object - the validated value. The object contains a set of key:value pairs where key is the id of a checkbox and value is the value/state of the checkbox.
  • isValidate: boolean - the result of validation

Example

form.getItem("CheckboxGroup").events.on("afterValidate", function(value, isValidate) {
console.log("afterValidate", value, isValidate);
});