Skip to content

Kirby 6.0.1

$fields->validate()

Checks for errors in all fields that store a value and throws an exception if there are any. Fields without a value (e.g. page and file lists) only report their errors for the publish gate and don't block saving.