UI Prompt Form
Shows a form and writes entered field values to variables only when submitted. A non-empty optional body adds one action button. actionLabel supplies its label (default Run action). The body executes on each click, without submitting or closing the form. Existing field edits are preserved; actions use current workflow variables, not unsubmitted form values. Actions obey ordinary permissions and commit immediately, including inside manually grouped workflows. Action failure leaves the form open with an error. Repeated clicks and submission are disabled while an action runs. Nested prompts are unsupported. The action button is available in the panel UI; the native alert/prompt fallback supports ordinary fields only.
Inputs
| Input | Required | Value Kind | Types | Enum Values |
|---|---|---|---|---|
title | no | expression | string | — |
message | no | expression | string | — |
actionLabel | no | expression | — | — |
fields | yes | expression | array | — |
cancelBehavior | no | enum | enum-string | STOP, EMPTY, DEFAULTS |
Notes
No additional notes are available yet.
See Also
- Building Prompt Dialogs: Explains how
UI Prompt FieldandUI Prompt Formwork together to build custom dialogs. - UI Prompt Field: Creates one field definition that can later be shown inside a prompt dialog.
Examples
Build A Prompt Dialog
Shows how to build a multi-field dialog from several `UI Prompt Field` values and one `UI Prompt Form` block.
Topics: dialogs, user input
Source: patterns/ex-ui-build-prompt-form.json
Export Sequence Markers To SRT
Prompts for the subtitle text source first, then exports active-sequence markers to an `.srt` file while skipping empty resolved text and zero-duration markers.
Topics: markers, subtitles, SRT export, save dialogs, marker comments
Source: recipes/ex-markers-export-active-sequence-to-srt.json
Export Sequence Markers To YouTube Chapter Text
Prompts for the chapter title source and output mode, then exports active-sequence markers as YouTube chapter lines to the clipboard or a `.txt` file while skipping empty resolved text.
Topics: markers, YouTube chapters, text export, clipboard workflows, save dialogs, marker comments
Source: recipes/ex-markers-export-active-sequence-to-youtube-chapter-text.json