$checkboxesField->next()
Returns the next item in the collection if available
$checkboxesField->next(TCollection|null $collection = null): CheckboxesField|null
Parameters
| Name | Type | Default |
|---|---|---|
| $collection | TCollectionornull |
null
|
Return types
Kirby\Form\Field\CheckboxesFieldornull
This method does not modify the existing $checkboxesfield object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Form\Field\CheckboxesField
inherited from Kirby\Form\Field