3.2.0

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 
    } 
}
Carlos
April 28,
Thanks Carlos....it worked
Abhishek
April 28,

This topic is archived.

See also:


Back to support forum