Insert matrix question
editor_insertMatrixQuestionInsert a matrix/grid question. Use when rating multiple items on the same scale. Requires rows and columns as native string arrays (never a JSON string). Example: {title:"Rate our service", rows:["Speed","Quality"], columns:["Poor","OK","Great"]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Row labels | |
| after | No | NodeId to insert after. Use $prev to chain. Omitting appends to end (usually wrong). | |
| title | Yes | Question title | |
| formId | Yes | Form ID to insert into | |
| columns | Yes | Column labels | |
| isHidden | No | Start hidden (the target of a `show` rule). | |
| parentId | No | Parent node ID to insert into (e.g., column1) | |
| position | No | Position among siblings: inside parentId when given, else at the top level ('first' = top of the form, e.g. a title). Not combinable with after. | |
| required | No | Whether question is required. Default: true. Pass false to make the field optional. |