3.2.0

To restrict the length of input template

Hi
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
October 3,
once you create/use an input template, use somthing like this:

inputtemplate.setAttribute('MAXLENGTH', 95)


Jim Hunter
October 6,
it does not seem to work...
can u please give another solution
Deepak Bansal
October 7,
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
October 7,
ok fine its working with me also.
Thanks
Deepak Bansal
October 20,

This topic is archived.

See also:


Back to support forum