Maxlength for AW.Templates.Input
How can I set the maxlength for AW.Templates.Input so that I am able to restrict the text entered to certain maximum characters?
Abhishek
April 28,
obj2.onCellValidating = function(text, column, row){
var max = 4;
if (text.length > max){
alert('max lenth is: ' + max )
return "error"; // prevent non-digits
}
}
This topic is archived.
ActiveWidgets is a javascript library for creating user interfaces. It offers excellent performance for complex screens while staying simple, compact and easy to learn. Deployed by thousands of commercial customers in more than 70 countries worldwide.
Copyright © ActiveWidgets 2021