Skip to main content

change

fires on changing the value of a control

change: (name: string, new_value: any) => void;

Parameters:

  • name|id: string - the name (or id, if the name is not specified) of the Form control
  • new_value: any - a new value set for the control

Example

form.events.on("Change",function(name, new_value){    // your code here});

Related sample: Form. Events