Skip to content

Kirby 3.5.7.1

Validations::options()

Validates if the field values is in defined options

Validations::options(Kirby\Form\Field $field, $value): bool

Parameters

Name Type Default
$field * Kirby\Form\Field
$value *

Return type

bool

Exceptions

Parent class

Kirby\Form\Validations