Validations::max()
Validates if the field value is maximum
Parameters
Name | Type | Default |
---|---|---|
$field * | Kirby\Form\Field |Kirby\Form\FieldClass |
– |
$value * | mixed |
– |
Return type
bool
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |