Skip to content

Kirby 4.5.0

Validations::minlength()

Validates if the field value is min length

Validations::minlength(Kirby\Form\Field|Kirby\Form\FieldClass $field, mixed $value): bool

Parameters

Name Type Default
$field * Kirby\Form\Field|Kirby\Form\FieldClass
$value * mixed

Return type

bool

Exceptions

Parent class

Kirby\Form\Validations