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