Skip to content

Kirby 6.0.0

$displayField->isActive()

Checks if the field is currently active or hidden because of a when condition

$displayField->isActive(): bool

Return type

bool

Parent class

Kirby\Form\Field\DisplayField inherited from Kirby\Form\Field