Skip to content

Kirby 6.0.0

$toggleField->isActive()

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

$toggleField->isActive(): bool

Return type

bool

Parent class

Kirby\Form\Field\ToggleField inherited from Kirby\Form\Field