Skip to content

Kirby 4.2.0

$fieldclass->errors()

Runs all validations and returns an array of error messages

$fieldclass->errors(): array

Return type

array

Parent class

Kirby\Form\FieldClass