Link to home
Start Free TrialLog in
Avatar of MICHAED
MICHAED

asked on

Limiting characters input in UNBOUND txtBox?

Hi,

How can I limit the characters input into an unbound txtBox, say, to only four characters?  I found a few solutions here, however, they allow the user to input more than the alloted amount of characters within the txtBox -- I'd like to limit the number of characters the txtBox holds AND limit the number that can be typed into it (both would be 4 characters in this instance).

Thanks,
Ed
Avatar of JohnK813
JohnK813
Flag of United States of America image

I can't seem to find a textbox property that does this (of course, I may have just missed something).  But, you probably could create a custom Input Mask and use it for your text box.
Hi

how about setting the Input Mask of the textfield to aaaa

Cheers

Scott
ASKER CERTIFIED SOLUTION
Avatar of davidrichardson
davidrichardson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MICHAED
MICHAED

ASKER

Hi David,

That's just what I need.

Thanks all!

Ed
No Problem