How do I capture "Before Change" values from a form?

I can see that Webix doesn’t have any event like “onBeforeChange” for capturing values before they are changed in a form. Also I can capture values after the change with an onBlur event. I have a requirement that require that I capture form values before and after change to send to the server program (a PHP file in this case) with Ajax. Sending with Ajax is fine, but how do I capture values before change?

Thanks and Regards
Manish

Hello @manishdeshpande ,

I have a requirement that require that I capture form values before and after change to send to the server program

As a solution, you can try to use onChange . The handler will take two parameters - new and old values.
Please take a look at the snippet:
https://snippet.webix.com/szo2mjyn

Thanks much @annazankevich. Looks like my problem is solved.