How can get all element in webix form

I have a webix form as follow:
webix.ui({
view:“form”,
elements:[
//name is necessary for getting the control’s value
{ view:“text”, label:‘Login’, name:“login”},
{ view:“text”, label:‘Email’, name:“email” },
{ view:“button”, value:“Sumbit”}
]
});

How can I attach event on each element in this form?

How can I get all element of this form? Eg: $$($idOfForm).elements[“idOfControl”]

In elementConfig, I set a event on it and hope that when I change on these input element of this form. It’ll fire that event. But nothing happen.

To get a particular element, you should use $$("formID").elements['elementName']

Can you clarify, what exactly goes wrong with the event within elementConfig? Please, check the following snippet:

http://webix.com/snippet/6081e9c4

I got your solution. It’s work.

Now, I have a problem with onChange() event. When I apply onChange() for each element. Inside onChange(), I want to validate() this element.

It worked fine when I create new form. But It’ll check validate for these field when I fill data at Edit mode of form. after I fill data at ready() function. It’ll call onChange() at each element.

Could you provide a snippet of the issue?