setAllowableMaxLength

Sets the maximum allowable length.

Parameters

length

The maximum length.


Sets the maximum allowable length.

Parameters

length

The maximum length.

errorMsg

The error message to display if validation fails.