Skip to content

Kirby 6.0.0

$hiddenField->reset()

Resets the value back to the empty value

$hiddenField->reset(): HiddenField

Return type

Kirby\Form\Field\HiddenField

This method does not modify the existing $hiddenfield object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Form\Field\HiddenField inherited from Kirby\Form\Field\ValueField