Skip to content

Kirby 6.0.0

$emailField->reset()

Resets the value back to the empty value

$emailField->reset(): EmailField

Return type

Kirby\Form\Field\EmailField

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

Parent class

Kirby\Form\Field\EmailField inherited from Kirby\Form\Field\ValueField