Learn to create a bullet point list that adjusts based on end user answers using the Text Block values and Updating features. The list will only display items that are relevant to the end user based on their responses.
How to create a context-sensitive list
In this example, we will build a list of recommendations. Each recommendation will only be shown when it is relevant to the end user. Relevance will be determined by the end users' answers.
-
Start by creating a Text Block value named Recommendations. This will serve as the container for your list. Feel free to include introductory text if needed.
-
Now, create your first input question. We want to add a recommendation to our bullet point list only when the answer to a specific question is No. For any other answer, we will not add a recommendation.
-
Below the input node you just created, add another Text Block value. Connect the transition for the No-answer to this new Text Block value. Then, insert an additional input node below the value node and create a transition from the Content input node to the new input node.
-
Name the second Text Block value Recommendation so that it updates the Recommendation variable. Reference the Recommendation variable to preserve the existing content. Then, add a bullet point with your recommendation.
-
Repeat these steps for all recommendations you have.
-
Finally, reference the Recommendations variable with the bullet point list, e.g., in a Result Node. You have created a context-sensitive list!