Need to randomize 3 blocks, and for each block I need to add the same branch. How can I do it? | XM Community
Skip to main content
Solved

Need to randomize 3 blocks, and for each block I need to add the same branch. How can I do it?


I need to randomize 3 blocks (3 different pictures). In each block there is the same question and then based on the answer (yes, no) of each participant, the participant will be directed to different blocks. How should I add the branch for each block? Should I create one branch for each block that is being randomized?

Best answer by bstrahin

Is there a reason you created a block for each of your three pictures? To me it sounds like you have: Picture A with one yes/no question Picture B with one yes/no question Picture C with one yes/no question Those could be formatted into Block: Pictures so that there are three questions (one for each picture) where the question text holds both the image and question wording. Those three then can be shown in a random order by going to Block Options and choosing Question Randomization, Randomize the order of all questions. You can then either use branching logic on blocks to get your follow up questions. Or a new block with display logic to get to the follow-up question. You would use this approach if you want them to see all the pictures before the follow-up questions. But if you want them to see one picture then the follow-up questions for that picture before randomly selecting the next picture to have them say yes/no to, that would be set up differently. I can't advise without understanding the logic you are hoping to have on subsequent branches.
View original

2 replies

bstrahin
Level 6 ●●●●●●
Forum|alt.badge.img+38
  • Level 6 ●●●●●●
  • 639 replies
  • Answer
  • April 10, 2018
Is there a reason you created a block for each of your three pictures? To me it sounds like you have: Picture A with one yes/no question Picture B with one yes/no question Picture C with one yes/no question Those could be formatted into Block: Pictures so that there are three questions (one for each picture) where the question text holds both the image and question wording. Those three then can be shown in a random order by going to Block Options and choosing Question Randomization, Randomize the order of all questions. You can then either use branching logic on blocks to get your follow up questions. Or a new block with display logic to get to the follow-up question. You would use this approach if you want them to see all the pictures before the follow-up questions. But if you want them to see one picture then the follow-up questions for that picture before randomly selecting the next picture to have them say yes/no to, that would be set up differently. I can't advise without understanding the logic you are hoping to have on subsequent branches.

Akdashboard
Level 4 ●●●●
Forum|alt.badge.img+6
  • Level 4 ●●●●
  • 488 replies
  • April 10, 2018
Another way to do this would be to use the randomizer block to assign a random embedded data, then use that embedded data as the condition for display logic for a specific picture, to the same question. This way all the survey responses are in the same question, and you can just filter by that embedded data to distinguish the responses. This method would make your survey a bit tighter.

Leave a Reply