Skip to content

Kirby 4.5.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