range

range
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
],