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