/AWS1/CL_PP2TEXTVALIDATION¶
Validation rules for a text field.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_minlength
TYPE /AWS1/PP2INTEGER
/AWS1/PP2INTEGER
¶
The minimum number of characters for the text field.
iv_maxlength
TYPE /AWS1/PP2INTEGER
/AWS1/PP2INTEGER
¶
The maximum number of characters for the text field.
iv_pattern
TYPE /AWS1/PP2STRING
/AWS1/PP2STRING
¶
The regular expression used to validate the text field.
Queryable Attributes¶
MinLength¶
The minimum number of characters for the text field.
Accessible with the following methods¶
Method | Description |
---|---|
GET_MINLENGTH() |
Getter for MINLENGTH, with configurable default |
ASK_MINLENGTH() |
Getter for MINLENGTH w/ exceptions if field has no value |
HAS_MINLENGTH() |
Determine if MINLENGTH has a value |
MaxLength¶
The maximum number of characters for the text field.
Accessible with the following methods¶
Method | Description |
---|---|
GET_MAXLENGTH() |
Getter for MAXLENGTH, with configurable default |
ASK_MAXLENGTH() |
Getter for MAXLENGTH w/ exceptions if field has no value |
HAS_MAXLENGTH() |
Determine if MAXLENGTH has a value |
Pattern¶
The regular expression used to validate the text field.
Accessible with the following methods¶
Method | Description |
---|---|
GET_PATTERN() |
Getter for PATTERN, with configurable default |
ASK_PATTERN() |
Getter for PATTERN w/ exceptions if field has no value |
HAS_PATTERN() |
Determine if PATTERN has a value |