For the rules, how can I create my own function (ie. myfunction(a,b) {} ) in place of emailaddress: function() ?
rules:{
firstname: webix.rules.isNotEmpty,
lastname: webix.rules.isNotEmpty,
emailaddress: function(){ … },
into something like…
rules:{
firstname: webix.rules.isNotEmpty,
lastname: webix.rules.isNotEmpty,
emailaddress: myfunction(param1,param2){ ... },
myfunction(a,b) {
…
}