Asynchronous validation

The problem is that we want to add the result of an asynchronous validation call to the result of the form validate method ( see: http://docs.webix.com/api__link__ui.form_validate.html).

But since all form rules in webix are checked in a synchronous manner, this is not possible at the moment unless we extend webix.

Is there an elegant solution for this problem ? Some kind of construction with a callback function on the form validate method would solve the problem, but this isn’t provided in webix i think ?

Some kind of construction with a callback function on the form validate method would solve the problem

The mentioned approach is totally valid. By default, all requests of webix.ajax are done in async mode, and you can use it in a custom rule.

Please check the related articles:

http://docs.webix.com/desktop__data_validation.html#customrules

http://docs.webix.com/helpers__ajax_operations.html