Limit the text character according to width of text

  • Thread starter Thread starter NP
  • Start date Start date
N

NP

How to limit the text field character based on the Text
field width.

I mean, the user should not be disable to type more than
the text width on the form

Thanks
 
AFAIK, you can't _literally_ limit the number of characters typed in
to the size of the box, You would need to define the field size
correctly (or set up the input format appropriately) and adjust the
font and box size to correspond. This obviously won't be perfect
unless you use a fixed width font, since, with a proportional font,
the number of characters that fits exactly depends on which
character(s) it is.


How to limit the text field character based on the Text
field width.

I mean, the user should not be disable to type more than
the text width on the form

Thanks


Please respond to the Newsgroup, so that others may benefit from the exchange.
Peter R. Fletcher
 
Back
Top