Skip to content

Kirby 4.5.0

$blocksfield->required()

If true, the field has to be filled in correctly to be saved.

$blocksfield->required(): bool

Return type

bool

Parent class

Kirby\Form\Field\BlocksField inherited from Kirby\Form\FieldClass