Skip to main content

afterValidate

fires after the control value is validated

afterValidate: (value: ICheckboxGroupValue, 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);});