Hi everyone,
I have a question about setting up different default preselected options based on the answer to a previous question in the survey. Here's the scenario:
In the survey, there are two multiple choice questions:
Question 1 (Q1): Participants indicate their country of residence among three options: Spain, Germany, or Sweden.
Question 2 (Q2): This question offers three choices: Black, Orange, and Yellow.
Now, what I want to achieve is to dynamically change the default preselected option in Q2 based on the answer given in Q1. Here's the desired behavior:
- If a participant selects Spain in Q1, the default option in Q2 should be "Orange."
- If a participant selects Germany in Q1, the default option in Q2 should be "Yellow."
- If a participant selects Sweden in Q1, the default option in Q2 should be "Black."
I'm seeking guidance on how to implement this logic (javascript)?
Thank you!