Custom "invalidMessage" of input text in a form

Hello ,
I have a form with rules that return true/false for play invalidMessage or not in an iput text in red.
My question is : Is it possible to custom invalidMessage in function of a different return code of rules?

for example , if input value is > 100 : error message1 is visible and if input value < 50 : error message2 is visible.

Thanks

In a custom rule, you can use markInvalid method depending on the value length. Something like:

http://webix.com/snippet/8c4e6d85

thanks :wink: