Insert repeating group
editor_insertRepeatingGroupInsert a repeating group: a labeled block of member fields the respondent can add multiple instances of (e.g. "Who is coming?" repeated per guest, each with Name + Phone). Provide the group name and 1+ member fields — a group is auto-deleted if it has no fields, so it must be born with at least one. Member types: text, number, date, time, email, phone, url, radio, checkbox, select, switch, rating (choice types need options). Add other/complex member types AFTER creation with the normal editor_insert*Question tools, passing parentId = the group id. Both the whole-group id (renders every instance inline, e.g. "Alice - 111, Bob - 222") and each member field id can be @-mentioned in body text, emails, and PDFs. Returns members — one { nodeId, title, inputId, options } per member field, in order — so logic and updates can target them without editor_getDocument.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Group label shown above the block, e.g. "Guests" or "Who is coming?". | |
| after | No | NodeId to insert after. Use $prev to chain. Omitting appends to end (usually wrong). | |
| fields | Yes | Member fields repeated together per instance. At least one — an empty group is auto-deleted. | |
| formId | Yes | Form ID to insert into | |
| addButtonLabel | No | Label for the "add another" button. Default: "Add". |