getMaxLength (Client API reference)

Returns a number indicating the maximum length of a string or memo column.

Column types supported

string, memo

Syntax

formContext.getAttribute(arg).getMaxLength()

Return Value

Type: Number.

Description: The maximum allowed length of a string for this column.

Note

The email form description column is a memo column, but it does not have a getMaxLength method.