fires when data in the input of the related form/toolbar is changed
newv | string | the new value typed into the field |
oldv | string | the initial value in the field |
$$("form1").elements["login"].attachEvent("onChange", function(newv, oldv){
//"login" is name of the related form field
webix.message("Value changed from: "+oldv+" to: "+newv);
});
//or
$$("form1").attachEvent("onChange", function(newv, oldv){
webix.message("Value changed from: "+oldv+" to: "+newv);
});
The event fires only in case some value is changed by user in browser. If values are set in code (with setValues method) the onValues will fire instead.