Skip to content

Kirby 4.1.2

$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