How to hide a question if another question was shown | XM Community
Skip to main content

Hi, I'm not sure if this should be under another category, but I need help with survey flow. I have a survey with 2 phases, and there are 3 groups in phase 1. Regardless of group, respondents are shown news articles with the same 2 questions for each article. Then, depending on the group, either nothing is shown after the 2 questions, or the respondent sees feedback afterwards. Then, in phase 2, they are given different articles with the same 2 questions each. So I have 10 news articles, and in phase 2, I want to randomly present the ones they didn't see in phase 1. How do I modify the survey flow to not show a block A if a block B with the same article was already shown? How do I hide several blocks/questions and use a randomizer for the remaining blocks? Does hiding questions within a block inside a randomizer mean you might randomly be presented a blank page?
Edit: I also want to randomly select 2 articles from 1 category and randomly select 2 articles from another category, but I don't want it to be 1 category after another. Is there a way to intermix elements if they were in 2 separate randomizers?
Thanks,
Rachael

On your original question...
It sounds like you've put each article in its own block. You can use groups and branches within randomizers to achieve your goal:
Randomizer 2 of 10 (Phase 1)
Group: Article 1
Embedded Data: article1 = 1
Article 1 Block
Group: Article 2
...etc...
Randomizer 10 of 10 (Phase 2)
If article1 Not equal to 1
Article 1 Block
If article2 Not equal to 1
...etc...
On the follow-up question...
You can use two randomizers to set embedded data field values then use those values for logic or as piped text in a third "intermixed" randomizer.


TomG Wow, that's very helpful, I never thought of that! Sorry for not asking earlier, but for the randomizer 10 of 10, if it randomly selects article 1 and sees article1 = 1, will it simply "count" that as one shown and thus only show 5 in total? Or should I use a quota? Or should I have the randomizer "Randomly present 10 of the following elements?" That would show the remaining 6, correct?
For the follow-up question, I'm not quite understanding what you mean. Do I use the same If branches? Like, each randomizer randomly selects elements that set embedded data = 1, and in the third randomizer, if certain embedded data = 1, show this block, right?
Thanks,
Rachael


rachaelh ,

Sorry for not asking earlier, but for the randomizer 10 of 10, if it randomly selects article 1 and sees article1 = 1, will it simply "count" that as one shown and thus only show 5 in total? Or should I use a quota? Or should I have the randomizer "Randomly present 10 of the following elements?" That would show the remaining 6, correct?

You don't need quotas. The branches will prevent articles that were previously displayed from displaying again. 10 of 10 will make sure it displays all the articles that weren't previously displayed.
For the follow-up question, I'm not quite understanding what you mean. Do I use the same If branches? Like, each randomizer randomly selects elements that set embedded data = 1, and in the third randomizer, if certain embedded data = 1, show this block, right?

Yes, I think you have the idea.


TomG Thank you so much! Just to confirm, to intermix the randomizers, the third randomizer needs to randomly select 10 out of 10 elements, correct?
Thanks,
Rachael


https://www.qualtrics.com/community/discussion/comment/29686#Comment_29686Not necessarily. If you have each of the elements inside a branch (if) like the above example, then yes you want the randomizer to display them all and let the branches determine which ones are actually displayed.


Leave a Reply