Skip to content

Kirby 6.0.0

$rangeField->next()

Returns the next item in the collection if available

$rangeField->next(TCollection|null $collection = null): RangeField|null

Parameters

Name Type Default
$collection TCollectionornull null

Return types

Kirby\Form\Field\RangeFieldornull

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

Parent class

Kirby\Form\Field\RangeField inherited from Kirby\Form\Field