trigger form events

Hi,
I have a form with a lot of elements, how can i trigger onchange event on any element?
I mean how to avoid to use the following for each element id?:
$$(‘element_id’).attachEvent(“onChange”, function(newv, oldv){
//code here
});

The following does not trigger:
$$(“myForm_id”).attachEvent(“onChange”, function(newv, oldv){
webix.message("Value changed from: “+oldv+” to: "+newv);
});

Thanks