"Multi-select" multiple choice prompts
Learn how to present a list of options to the user. The user can select multiple options to send as the response.
Last updated
Learn how to present a list of options to the user. The user can select multiple options to send as the response.
Last updated
Here's an example:
It asks the user a question, and presents a list of options they can respond with. The user can select one or more options. Once the user answers, the chat moves on to prompt #8 (not shown).
Unlike in "single-choice" Multiple choice prompts, you cannot branch to different prompts based on the answer selected. This is a limitation that we plan to do away with in future.
In DialogForm, open up a flow you want to edit.
In the prompts panel, click on the "+ Add prompt" button.
This will add an empty prompt right below. Type in a message to the user.
Then, click on "+ Add answer" to type in an answer choice. Hovering over any answer will reveal a button to insert another answer before/after it. Add as many answers as you want. You can always move answers around using their drag handles (the icon with the six dots).
Note the backslash preceding the "*" symbols in the example at the top of the page. DialogForm supports Markdown syntax, which is a way of composing rich-text messages. Markdown treats "*" as a special character, which has to be "escaped" using a backslash to tell Markdown not to treat it specially in this case.
Set the next prompt using the "Always to" box below all the answers.
Unlike in "single-choice" Multiple choice prompts, you cannot branch to different prompts based on the answer selected. This is a limitation that we plan to do away with in future.
Configure how answer choices appear to the user.
Learn how to compose messages with rich text, images and video.
To award points to the user for answering correctly, or partially correctly, assign scores to answers.
Next, open the prompt settings panel by double-clicking on any prompt name (or by hovering over the icon that appears to the right of the prompt name). Then under the "INPUT SETTINGS" section of the prompt settings panel, check the "Allow multiple select" option.