Variables, hidden variables and lists.
A variable stores one value you can pipe into text (set variable). A list collects several items you can pipe in or use in logic (add to list). A Hidden Variables question is never shown to respondents and codes them automatically, for analysis and for loops.
Change wording per respondent with a variable (set variable)
A variable has a key and a value. {{ variable:key }} pipes the value into a question, description, section text, choice or statement.
- In the Build tab, open the logic editor on the question that decides the value and click Add Action Logic.
- In If..., choose the condition.
- In Then..., choose set variable and enter the key and the value. One rule can set several variables.
- Duplicate the rule for each other value, then click Save & Close.
Example: on Q7 (soft drink frequency), "Every day", "A few times a week" and "About once a week" set period to week. "A few times a month" and "Less often" set it to month.

Q22 then uses the variable in its question text: "About how much do you spend on soft drinks in a typical {{ variable:period }}?". Respondents see "week" or "month" in its place.

Collect answers into a list (add to list)
Each respondent's list holds only the items their answers added.
- On the question that feeds the list, open the logic editor and click Add Action Logic.
- In If..., choose the condition for one item, for example respondent selected Q11 any of Zingo.
- In Then..., choose add to list.
- In the list dropdown, type the list name in the Custom field and press Enter. Do the same for the item in the item dropdown.
- Duplicate the rule for each other item, then click Save & Close.
- Type
{{ list_Name }}in a later question.

Example: Q11 has one rule per brand, each adding it to the list "Bought". The Description of Q22 reads "Brands you told us you bought:" with {{ list_Bought }} on its own line, and respondents see the brands as bullet points.

With the condition list and any of, all of or none of, list items behave like tags (list Bought any of Zingo). With less than, greater than or equal to, it checks how many items the list holds.
Code respondents invisibly (Hidden Variables)
Each variable in a Hidden Variables question is selected automatically when the respondent meets its display logic. Variables work like tags, but coded as a question, so you see them in Analyse and in downloads.
- In the Build tab, click ADD QUESTION/SECTION and choose Hidden Variables.
- Enter a Name and your Variables.
- In the logic editor, click Add Display Logic and, under Display..., change Question to Variables.
- Add a rule per variable, then click Save & Close.

Example: Q13 has one variable per brand, each displayed if respondent has tags "Rate
Other uses: hold tags for charting in Analyse, group answers, and stitch questions together.
Good to know
- In a description,
{{ list_Name }}displays as vertical dot points. In a question, choice or statement it displays on one line ("- Zingo - Sunnie"). - A Hidden Variables question with no display logic selects every variable for every respondent.
- Hidden Variables are analysed exactly the same way as Choice questions.
- Borrow from on a Hidden Variables question offers Show all variables, Only show variables displayed and Only show variables NOT displayed.
Common questions
How do I show different wording to different respondents?
Use the action set variable to store a key and a value, such as period = week. Then type {{ variable:period }} in the question text.
What is the difference between a tag, a variable and a list?
A tag is a yes/no label on a respondent. A variable (set variable) stores one value for piping, and a list (add to list) holds several items for piping or use in logic.
How do I show the brands someone picked as a bullet list?
Add one add to list rule per choice, all with the same list name. Then put {{ list_Name }} in the later question's Description, where it displays as dot points.
What is a Hidden Variables question for?
A Hidden Variables question codes respondents without showing them anything. Use it to chart tags in Analyse or to hold loop variables.