Skip to content

Kirby 4.5.0

$field->isInvalid()

Checks if the field is invalid

$field->isInvalid(): bool

Return type

bool

Parent class

Kirby\Form\Field