Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.
range
range
-
- Path
-
$GLOBALS['TCA'][$table]['columns'][$field]['config']
- type
-
array
- Scope
-
Proc.
- RenderTypes
-
default, inputLink
An array which defines an integer range within which the value must be. Keys:
- lower
- Defines the lower integer value.
- upper
- Defines the upper integer value.
It is allowed to specify only one of both of them.
Example
Limit an integer to be within the range 10 to 1000
'eval' => 'int',
'range' => [
'lower' => 10,
'upper' => 1000
],
Copied!