Insert page divider
editor_insertPageDividerInsert a page divider to split the form into multiple pages. For a post-submit thank-you page, ALWAYS pass isThankYouPage: true; otherwise it is a normal pre-submit page. A page divider is a flat break marker, NOT a container: it holds only its name label. The new page's content is the sibling nodes that FOLLOW the divider at the document root — add each header/paragraph/question with a separate insert using after (chain via $prev), never by passing parentId = the divider. A submit-button is automatically prepended to mark the end of the previous page; the form retains its trailing submit-button for the final page, so multi-page forms have one submit-button per page (this is expected, not duplication). Pass after = id of the last content node of the page being closed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Page name/label | |
| after | No | NodeId to insert after. Use $prev to chain. Omitting appends to end (usually wrong). | |
| formId | Yes | Form ID to insert into | |
| 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. | |
| isThankYouPage | No | Set true for a thank-you page that is shown only after a successful submission. |