:: Forum >> Version 2 >>

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
Tuesday, April 28, 2009
obj2.onCellValidating = function(textcolumnrow){ 
var 
max 4;
      if (
text.length max){ 
    
alert('max lenth is: ' max )
        return 
"error"// prevent non-digits 
    

}  
Carlos
Tuesday, April 28, 2009
Thanks Carlos....it worked
Abhishek
Tuesday, April 28, 2009



This topic is archived.

Back to support forum

Forum search