ListRange
The number of selected values should be within the range [min
,max
].
Parameter table
param | unit | required | description |
---|---|---|---|
min | element(s) | no | The minimum allowed number of selected values. |
max | element(s) | no | The maximum allowed number of selected values. |
How to setup
The rule verifies whether the number of selected values is within the specified range [min
,max
]
If the number of selected values is outside the range, the rule will fail.
Note: the minimum (min
) and maximum (max
) need to be valid positive integers.
Examples
value | valid | max | min | description |
---|---|---|---|---|
(Cairo, Rome) | ✅ | 3 | 1 | The number of selected values is within the range. |
(Sydney, London, Cardiff) | ❌ | 4 | The number of selected values is outside the range. | |
(Sydney, London, Cardiff) | ❌ | 1 | The number of selected values is outside the range. |