Skip to content

Kirby 6.0.0

$radioField->next()

Returns the next item in the collection if available

$radioField->next(TCollection|null $collection = null): RadioField|null

Parameters

Name Type Default
$collection TCollectionornull null

Return types

Kirby\Form\Field\RadioFieldornull

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

Parent class

Kirby\Form\Field\RadioField inherited from Kirby\Form\Field