length
Specifies constraints for a string parameter. The minimum and maximum number of characters can be defined.
length: { min: <lower limit>, max: <upper limit> }
Element | Required | Description |
---|---|---|
min | No |
Specifies the minimum number of characters. Specify min, max, or both. |
max | No |
Specifies the maximum number of characters. Specify min, max, or both. |