The value to validate
Minimum allowed value (inclusive)
Maximum allowed value (inclusive)
Name of the field for error messages
The validated value
Validate that a value is within a specified range
If the value is outside the range
The value to validate