WebFormFieldOrColumn.getMaxDisplayLength

Returns the maximum number of characters that can be entered by the user for the form field. This will be the value configured using the Max. length field validator.

returns int