docs: add recall info to variables (#5977)

This commit is contained in:
Johannes
2025-06-12 03:21:53 -07:00
committed by GitHub
parent 8da1bc71a6
commit 59bdd5f065

View File

@@ -26,7 +26,7 @@ There are two types of variables you can add to your survey:
![created variables](/images/xm-and-surveys/surveys/general-features/variables/created-variables.webp)
## Use case:
## Use cases
- **Quiz**: You can use variables to create a quiz. For example, you can add a variable `score` and update it every time a user answers a question. You can also use the variable for recall to show the final score to the user.
@@ -52,6 +52,9 @@ Variables are different from hidden fields in the following ways:
![Logic with variables](/images/xm-and-surveys/surveys/general-features/variables/logic-with-variables.webp)
### Recalling Variables in the Survey
You can recall show the variable value to the respondent by using the [Recall Data](/xm-and-surveys/surveys/general-features/recall) function.
<Note>
To know more about how to use logic in Formbricks, check out the [Conditional