Skip to content

Kirby 6.0.0

$structureField->errors()

Runs all validations and returns an array of error messages

$structureField->errors(): array

Return type

array

Parent class

Kirby\Form\Field\StructureField inherited from Kirby\Form\Field\InputField