diff --git a/apps/docs/docs/editor/blocks/inputs/buttons.mdx b/apps/docs/docs/editor/blocks/inputs/buttons.mdx index e63eb8afd..927a84c2f 100644 --- a/apps/docs/docs/editor/blocks/inputs/buttons.mdx +++ b/apps/docs/docs/editor/blocks/inputs/buttons.mdx @@ -53,3 +53,31 @@ Link the "Default" item to determine the default path independent of what the us } /> + +## How to + +### Add a "Other" button + +Sometimes you want to allow your user to enter a value that is not in the predefined choices. You can do this by adding a "Other" button and connect it to a "Text" input block. + +Other button flow + +### Different replies based on multiple choices + +If you'd like to have different replies based on the multiple choices the user selects. You will need to + +1. Save the answer into a variable. +2. Add a "Condition" block +3. Add comparisons based on the value of this variable + +Condition multiple button flow diff --git a/apps/docs/static/img/blocks/inputs/buttons-condition.png b/apps/docs/static/img/blocks/inputs/buttons-condition.png new file mode 100644 index 000000000..b49ce4fb6 Binary files /dev/null and b/apps/docs/static/img/blocks/inputs/buttons-condition.png differ diff --git a/apps/docs/static/img/blocks/inputs/buttons-other.png b/apps/docs/static/img/blocks/inputs/buttons-other.png new file mode 100644 index 000000000..b87742fe9 Binary files /dev/null and b/apps/docs/static/img/blocks/inputs/buttons-other.png differ