Variables

Assign variable names to questions to reference their answers later.

Usage

  • Use VARIABLE: name to store the question's response
  • Can be used to insert the response into texts later in the survey or for use in conditions
  • Should be placed after the question or last question option
  • Use {name} syntax to insert variable values into page texts and question texts

Example

# **Personal Info**
Q: What is your name?
TEXT
VARIABLE: name

Q: What is your age?
NUMBER
VARIABLE: age

# **Summary**
Welcome {name}! You are {age} years old.

Personal Info

What is your name?

What is your age?