Skip to content

Kirby 6.0.1

$layoutField->errors()

Runs all validations and returns an array of error messages

$layoutField->errors(): array

Return type

array

Parent class

Kirby\Form\Field\LayoutField inherited from Kirby\Form\Field\InputField