Hello,
There are three forms which are nested in parent-form. The point is that parent-form doesn’t find values of the nested forms, so validation doesn’t work.
The solution can look like this: https://snippet.webix.com/qlqmp889
- all config in the one form
- you can add rules as :
if you need to apply the same rule to each property of the data object, use the $all key
rules:{
$all:webix.rules.isNotEmpty
},
if you want to apply different rules for each property of the data object:
rules:{
login: webix.rules.isNotEmpty,
email: webix.rules.isEmail,
password: webix.rules.isNumber,
accept: webix.rules.isChecked
}