When using InputField
, whether setting the input type as a Number
or String
, is there a way to limit the number of characters or digits allowed in the box?
FieldSize
appears to set the physical size of the input box, but accommodates larger numbers of digits/characters, simply by enlarging the box in the vertical direction with additional lines, delimiting the end of the line with \
or similar character.
For instance, if I want to limit the input to 5 digits/characters, is this possible, and if so, how is this done?