calling event twice

Hi Webix team,

https://snippet.webix.com/0wuawewg

Why it calling form’s onchange event twice?

because you call it explicitly.
the event is called by the form itself on input change.

Then how I can call onchange event of form like timekeypressed event of text box?
Because if I am not calling it explicitly then I need to blur out of input box then only its calling onchange of form

you can call onChange event explicitly.
but use webix.message instead of native alert for testing.
also onChange will be called once again when textbox lose focus.

I need onChange of form on each change in textbox without losing focus.
That y I am using onTimedKeyPress event

Hi Webix team,

https://snippet.webix.com/4zeq4cyx
In this snippet if i am changing the inputbox value login button gets enabled but in single click I am not able to call login function.
I want to call function in single click once login button get enable.

that is because real onChange is called on input’s blur and button is refreshed.
dirty fix https://snippet.webix.com/d511ci5g

@intregal thank u so much :slight_smile:

@intregal
In this snippet -https://snippet.webix.com/ycyns1dg

Suppose I am having form field other than textbox this solution is not working.
Please give me solution for it

there is webix method as well
https://snippet.webix.com/hltfrrm7

@intregal Thank you so much now its working fine :slight_smile: