Constraining Facet | Description | Usage Notes |
enumeration | The possible values for the variable at run time. | If you also entered possible values using the Pick list choices property in the General category of the Properties view, those values will be displayed at run time. However, the enumeration values will be used for validation. |
fractionDigits | The maximum number of digits to the right of the decimal point. For example, the fractionDigits of the value 999.99 is 2. | fractionDigits must be less than or equal to totalDigits. |
length | The precise units of length required for the variable value. | If you specify length, you cannot specify either minLength or maxLength. |
maxExclusive | The upper bound of a range of possible values. The range excludes the value you specify. The variable can have a value less than but not equal to maxExclusive. | maxExclusive must be greater than or equal to minExclusive. You cannot specify maxInclusive and maxExclusive for the same content type. |
maxInclusive | The upper bound of a range of possible values. The range includes the value you specify. The variable can have a value less than or equal to maxInclusive. | maxInclusive must be greater than or equal to minInclusive. You cannot specify maxInclusive and maxExclusive for the same content type. |
maxLength | The maximum units of length permitted for the variable value. | maxLength must be greater than or equal to minLength. |
minExclusive | The lower bound of a range of possible values. The range does not include the value you specify. The variable can have a value greater than but not equal to minExclusive. | minExclusive must be less than or equal to maxExclusive. You cannot specify minInclusive and minExclusive for the same content type. |
minInclusive | The lower bound of a range of possible values. The range includes the value you specify. The variable can have a value greater than or equal to minInclusive. | minInclusive must be less than or equal to maxInclusive. You cannot specify minInclusive and minExclusive for the same content type. |
minLength | The minimum units of length permitted for the variable value. | minLength must be less than or equal to maxLength. |
pattern | A pattern (regular expression) that the value of the variable must match. For example, you can use a regular expression to specify that a variable that is a string content constraint match a Social Security number format. | |
totalDigits | The maximum number of decimal digits allowed in a value. For example, the totalDigits of the value 999.99 is 5. | totalDigits must be greater than or equal to fractionDigits. |
whiteSpace | The white space normalization performed on the variable value. The value of whiteSpace can be one of the following: preserve: No white space normalization is performed. replace: Carriage returns (#xD), line feeds (#xA), and tabs (#x9) are replaced with a single space (#x20). collapse: After the white space normalization specified by replace is performed, sequences of spaces (#x20) and leading and trailing spaces (#x20) are removed. |