Insert ranking question
editor_insertRankingQuestionInsert a ranking question. Use when the respondent must order items by preference (drag to rank). Requires 2+ options as a native string array. Example: {title:"Rank these features", options:["Speed","Price","Design"]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 | |
| options | Yes | Items to rank (minimum 2, non-empty, unique) | |
| 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. |