Skip to content

Kirby 6.0.0

$textField->errors()

Runs all validations and returns an array of error messages

$textField->errors(): array

Return type

array

Parent class

Kirby\Form\Field\TextField inherited from Kirby\Form\Field\InputField