Skip to content

Kirby 4.2.0

$field->errors()

Validates when run for the first time and returns any errors

$field->errors(): array

Return type

array

Parent class

Kirby\Form\Field