I want to limit a number field to two digits.
I can do that by sizing the text field and checking "limit length to visible area" in the field properties.
Alternatively, I can set a pattern num{99}. However, if I do this, then if someone enters an alpha character, it converts it into a zero! This is less preferable than the first option, where if someone enters an alpha character it just beeps and won't let them enter it.
Unfortunately, using field size is not always a very convenient way to specify my field format. For one thing, I don't use a fixed-width font, so longer fields with many numbers may not be able to be accurately limited to specific number lengths, since 11111111 takes different space than 888888888. Also, sometimes it is easiest (for cosmetic reasons) to have the field size not determined by my desired number length. Is there a way to both limit field length and to prevent alpha entries from being converted into zeros, without relying on the "limit length to visible area" property?
Thanks