FieldtypeFieldsetClose
Each Fieldtype subdirectory (e.g
FieldtypeText/, FieldtypeImage/) has its own
API.md. This file covers only the flat Fieldtype modules that have no subdirectory:
FieldtypeFieldsetOpen, FieldtypeFieldsetTabOpen, and Fieldtype.
FieldtypeFieldsetOpen
Opens a collapsible, bordered group of fields in the page editor. Fields placed between the open and its paired close field are visually grouped together.
None — stores no data.
Close fields are created, renamed, and deleted automatically alongside their paired open
field. The close field is always named {opener_name}_END.
You only interact with close fields to position them within a template's field order — drag them to wherever you want the group to end.
- Close fields appear under the "Advanced" filter in the Fields list.
- Do not rename or delete close fields directly — manage them via the open field.
| Property | Type | Description |
|---|---|---|
modal | bool | Open the tab in its own modal window. Useful for large forms where loading all tabs at once is slow. Default: false. |
The collapsed option for tab fieldsets is limited to: always visible, or AJAX-loaded
(the tab content loads only when the tab is clicked).
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Fieldtype class also inherits all the methods and properties of: FieldtypeFieldsetOpen, Fieldtype, WireData and Wire.
Common
Additional methods and properties
In addition to the methods and properties above, Fieldtype
API reference based on ProcessWire core version 3.0.260