Anyone canhelp me achieve no consecutive gender and nationality please?
I have some questions about randomizer does not work. So my survey has 22 blocks each block as an audio file. Each audio file represents gender and nationality (e.g. Japan-female, Australia-male). So I’m trying to make the blocks presented to participant with no consecutive gender and nationality. So the same gender can not be presented and the same nationality can not be presented. I set up embedded data Previousgender and PreviousNationality. I first set up randomizer in Survey flow, then under it 22 branch if (previousgender is not equal to… and previousnationality is not equal to…), then each block together with embedded data nested into each branch if. I think it is a perfect set up, however, when I preview it, although there is no consecutive gender and nationality presented, only 11 blocks presented not all of them. Could you please tell me why is that? And how to fix it? Thank you very much
Page 1 / 1
I believe what is happening is that once a branch in the randomizer is tested, it doesn’t get retested. So, if the Netherlands-male branch is false and doesn’t get executed, the randomizer isn’t going to come back to it again even though it may later be true.
You could fix it by setting an embedded data field for each pair that is complete (e.g. Netherlands_male=1) then add that to your branch condition (e.g., AND Netherlands_male Is Not Equal to 1). Then duplicate the entire randomizer. I’m not sure how many times you’ll need to duplicate the randomizer to make sure all 22 blocks are eventually displayed.
I have some questions about randomizer does not work. So my survey has 22 blocks each block as an audio file. Each audio file represents gender and nationality (e.g. Japan-female, Australia-male). So I’m trying to make the blocks presented to participant with no consecutive gender and nationality. So the same gender can not be presented and the same nationality can not be presented. I set up embedded data Previousgender and PreviousNationality. I first set up randomizer in Survey flow, then under it 22 branch if (previousgender is not equal to… and previousnationality is not equal to…), then each block together with embedded data nested into each branch if. I think it is a perfect set up, however, when I preview it, although there is no consecutive gender and nationality presented, only 11 blocks presented not all of them. Could you please tell me why is that? And how to fix it? Thank you very much
Hi,
If the only problem is not seeing all 22 blocks, You need to enable “Evenly present elements” in the randomizer block.
I believe what is happening is that once a branch in the randomizer is tested, it doesn’t get retested. So, if the Netherlands-male branch is false and doesn’t get executed, the randomizer isn’t going to come back to it again even though it may later be true.
You could fix it by setting an embedded data field for each pair that is complete (e.g. Netherlands_male=1) then add that to your branch condition (e.g., AND Netherlands_male Is Not Equal to 1). Then duplicate the entire randomizer. I’m not sure how many times you’ll need to duplicate the randomizer to make sure all 22 blocks are eventually displayed.
Thank you so much for your reply! I guess the setup is more complicated than I think….I will try your method! Thank you again!
I have some questions about randomizer does not work. So my survey has 22 blocks each block as an audio file. Each audio file represents gender and nationality (e.g. Japan-female, Australia-male). So I’m trying to make the blocks presented to participant with no consecutive gender and nationality. So the same gender can not be presented and the same nationality can not be presented. I set up embedded data Previousgender and PreviousNationality. I first set up randomizer in Survey flow, then under it 22 branch if (previousgender is not equal to… and previousnationality is not equal to…), then each block together with embedded data nested into each branch if. I think it is a perfect set up, however, when I preview it, although there is no consecutive gender and nationality presented, only 11 blocks presented not all of them. Could you please tell me why is that? And how to fix it? Thank you very much
Hi,
If the only problem is not seeing all 22 blocks, You need to enable “Evenly present elements” in the randomizer block.
Hi! thank you so much for your reply! I tried your suggestion immediately, it now presents 13 blocks not 11 blocks, but still not all blocks (22), do you know why this is happening...Thank you!