Skip to main content


fires before a control is hidden

beforeHide: (value: ICheckboxGroupValue, init: boolean) => boolean | void;


  • value: object - the current value of the control. 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.
  • init: boolean - true, if the event is triggered on the control initialization; otherwise, false


Return false to prevent a control from being hidden; otherwise, true.


form.getItem("CheckboxGroup").events.on("beforeHide", function(value, init) {
console.log("beforeHide", value, init);
return true;