Skip to content

Kirby 4.2.0

$fieldclass->value()

Returns the value of the field if saveable otherwise it returns null

$fieldclass->value(bool $default = false): mixed|null

Parameters

Name Type Default
$default bool false

Return type

mixed|null

Parent class

Kirby\Form\FieldClass