Skip to content

Kirby 6.0.0

$objectField->errors()

Runs all validations and returns an array of error messages

$objectField->errors(): array

Return type

array

Parent class

Kirby\Form\Field\ObjectField inherited from Kirby\Form\Field\InputField