Skip to main content

afterShow

fires after a control of Form is shown

afterShow: (name: string, value?: any) => void;

Parameters:

  • name|id: string - the name (or id, if the name is not specified) of the Form control
  • value: any - the current value of the control

Example

form.events.on("AfterShow", function(name, value) {    console.log("AfterShow", name, value); });

Change log:

  • added in v6.5
  • Before v7.0, the event took one parameter - the control id.
  • Starting from v7.0, the event takes two parameters: name|id and value.