Skip to content

Kirby 6.0.0

$toggleField->errors()

Runs all validations and returns an array of error messages

$toggleField->errors(): array

Return type

array

Parent class

Kirby\Form\Field\ToggleField inherited from Kirby\Form\Field\InputField