Skip to content

Kirby 4.4.1

$field->isRequired()

Checks if the field is required

$field->isRequired(): bool

Return type

bool

Parent class

Kirby\Form\Field