Skip to main content

afterHide

fires after a control or its radio button is hidden

afterHide: (value: string, id?: string, init: boolean) => void;

Parameters:

  • value: string - the current value of the control
  • id?: string - optional, the ID of the radio button of the control
  • init: boolean - true, if the event is triggered on the control initialization

Example

form.getItem("radiogroup").events.on("afterHide", function(value, id, init) {
console.log("afterHide", value, id, init);
});

Related sample: Form. Hide/Show control

Change log:

  • The id parameter was added in v8.0
  • The event was added in v7.0