Hi
i have defined a custom validator in model field,
this is working fine...
is it possible to trigger this validation in a javascript function
thanks Yaniv
i have defined a custom validator in model field,
this is working fine...
01.
schema: {
02.
model: {
03.
id: "EventId",
04.
fields: {
05.
Remarks: {
06.
type: "string",
07.
validation: {
08.
validateTextLength: function (input) {
09.
var statusRemarks = input.data("kendoEditor");
10.
return statusRemarks != null &&
11.
statusRemarks.value().length < 100;
12.
}
13.
}
14.
},
is it possible to trigger this validation in a javascript function
thanks Yaniv