InputfieldRepeater class
Maintains a collection of fields that are repeated for any number of times.
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Inputfield
class also inherits all the methods and properties of: Inputfield, WireData and Wire.
Common
Properties
Name | Return | Summary | Default |
---|---|---|---|
Inputfield | bool int | When enabled, only one repeater item will be open at a time. | false |
Inputfield | bool int | This setting makes the admin page editor treat item depth as a parent/child relationship when it comes to sorting/moving items. | false |
Inputfield | bool int | When enabled, opening (or closing) a repeater item also opens (or closes) the next items that are visually children of it, when combined with familyFriendly mode. | false |
Inputfield | bool int | Always show controls regardless of hover? | false |
Inputfield | bool int | Do not scroll to newly added items? | false |
Inputfield | int | Maximum allowed depth for repeater items or 0 to disable | 0 |
Inputfield | int | Maximum repeater items or 0 for no max | 0 |
Inputfield | int | Minimum repeater items or 0 for no min | 0 |
Inputfield | bool int | Limit repeater to a single item, primarily for the extending FieldsetPage module. | false |
Additional methods and properties
In addition to the methods and properties above, Inputfield
API reference based on ProcessWire core version 3.0.251