DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
between¶
Checks if the submitted value is between the given minimum and maximum value. By default, minimum and maximum are excluded, but can be included in the validation.
error¶
- Description:
See general information for error.
For this specific rule the default error message consists of two parts, the second one will only be added when inclusive is set. This functionality is not possible when defining an own message as shown below. The markers %minimum and %maximum will be replaced with the values set by TypoScript.
- Default:
- local language:"The value is not between %minimum and %maximum(, inclusively)"
inclusive¶
- Property:
- inclusive
- Data type:
- boolean
- Description:
- If inclusive = 1, the minimum and maximum value are included in the comparison.
- Default:
- 0
message¶
- Description:
See general information for message.
For this specific rule the default message consists of two parts, the second one will only be added when inclusive is set. This functionality is not possible when defining an own message as shown below. The markers %minimum and %maximum will be replaced with the values set by TypoScript.
- Default:
- local language:"The value must be between %minimum and %maximum(, inclusively)"
maximum¶
- Property:
- maximum
- Data type:
- integer
- Description:
- The maximum value of the comparison.
minimum¶
- Property:
- minimum
- Data type:
- integer
- Description:
- The minimum value of the comparison.
showMessage¶
- Description:
- See general information for showMessage.
[tsref:(cObject).FORM->rules.between]