$field->isInvalid() Checks if the field is invalid kirby/src/Form/Field.php#L336 $field->isInvalid(): bool Return type bool Parent class Kirby\Form\Field