Skip to content

Kirby 6.0.0

$stringField->isActive()

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

$stringField->isActive(): bool

Return type

bool

Parent class

Kirby\Form\Field\StringField inherited from Kirby\Form\Field