Skip to content

Kirby 4.5.0

$fieldclass->errors()

Runs all validations and returns an array of error messages

$fieldclass->errors(): array

Return type

array

Parent class

Kirby\Form\FieldClass