LengthConstraint
Compatible value type: text
Description
Limits the length of a string with an upper and/or lower boundary. Only values with a length within the given range are valid.
Example 1
publish constraint ShortAnswerConstraint oftype LengthConstraint {
minLength: 0;
maxLength: 20;
}
A text publish constraint with 0 to 20 characters.
Properties
minLength
Type integer
Default: 0
maxLength
Type integer
Default: 9007199254740991