Insert file question
editor_insertFileQuestionInsert a file upload question. Configure accepted file types and size limits.
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 | |
| accept | No | Accepted file types, comma-separated. Extensions ".pdf,.jpg" or MIME types "image/*". | |
| formId | Yes | Form ID to insert into | |
| maxSize | No | Maximum file size in bytes (must be > 0) | |
| isHidden | No | Start hidden (the target of a `show` rule). | |
| maxFiles | No | Maximum number of files | |
| 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. |