Conditional assignment lets you assign values to variables or expressions based on predefined conditions. It is helpful when you want to change variable and expression values based on assessment or quiz scores.
Use case: Take, for example, you are conducting an assessment on appearance anxiety. The result of the assessment can be interpreted as “Lower Appearance Anxiety” or “Greater Appearance Anxiety”. In such a case, conditional assignment helps.
A score of less than 19 suggests Lower appearance-related anxiety.
A score of greater than or equal to 19 suggests Higher appearance-related anxiety.
Setting Conditional Assignment for variables
In your builder, go to Settings > Text Variables.
Click on Create Variable.
Provide a variable name and click on Add Condition.
The value “Lower Appearance related Anxiety” is assigned for the condition when the score is less than 19.
Finally, click on Save Variable.
Setting up conditional assignments ensures your variables and expressions adapt dynamically based on scores or responses. This allows you to deliver accurate interpretations, making your assessments more insightful and personalized for respondents.