Skip to content

Kirby 4.4.1

$layoutfield->errors()

Runs all validations and returns an array of error messages

$layoutfield->errors(): array

Return type

array

Parent class

Kirby\Form\Field\LayoutField inherited from Kirby\Form\FieldClass