:: Forum >>

To restrict the length of input template

I want to restrict the length of text that can be written in an input template defined column upto 95 characters for one particular column.
can anyone please help me out in this. This is urgent!!!.
Deepak Bansal
Monday, October 3, 2005
once you create/use an input template, use somthing like this:

inputtemplate.setAttribute('MAXLENGTH', 95)

Jim Hunter
Thursday, October 6, 2005
it does not seem to work...
can u please give another solution
Deepak Bansal
Friday, October 7, 2005
It works for me, show me your code and I'll show you where you went wrong. I try not to post solutions unless I have used/tested them.
Jim Hunter
Friday, October 7, 2005
ok fine its working with me also.
Deepak Bansal
Thursday, October 20, 2005

This topic is archived.

Back to support forum

Forum search