MaxLength
Determines whether the number of characters in the located word is greater than or equal to the number specified.
Syntax
bool MaxLength (StrParam)
Parameters
An integer specifying the maximum number of characters the word or phrase can contain. Smart parameters are supported.Returns
False if the parameter is not Numeric, or if the actual number of characters exceeds the parameter. Otherwise, True.Level
Page or field level.Details
Compares the number of characters in the located word or phrase to a maximum number you supply as the parameter. Regardless of being called at the page or field level, this action operates on the recognized text for the current page.- Example
If the recognized value of the located word or phrase is: ANYTHING MaxLength("14") returns TRUE MaxLength("8") returns TRUE MaxLength("3") returns FALSE