Skip to content

Kirby 4.2.0

$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