Displays a form in the interactive part of the chat. Requires connected form input nodes and optionally a submit button.
Displays a form in the interactive part of the chat. Requires connected form input nodes and optionally a submit button.
Category: Forms
Tutorial: Start interactive node tutorial
| Label | Property | Type | Default | Description |
|---|---|---|---|---|
| Form Text | text | textarea | "Please fill out this form" | The form text can optionally be formatted with Markdown or Handlebars. |
| Reviewable from within the chat | reviewable | checkbox | true | Can the form be changed retroactively? |
| Auto-Repeat if back in context | repeatOnReentry | checkbox | true | Forgets all data and displays the form again if the context is left and re-entered. |
| State | Initial Value | Description |
|---|---|---|
| send | false | True if the form has been submitted and false if it has not yet been submitted. |
| reviewing | false | True if the form is currently being reviewed. Otherwise false. |
| values | {} | Contains the collected values from the individual form fields as an object after the form has been submitted. The names of the form fields then serve as keys within this object. |
submit() - Submits the formreset() - Resets the form and all connected input nodes.review() - Forces the form to be displayed after it has been submitted. This allows data to be modified again.clearReview() - Ends the current review mode