igori
New Member
Posts: 4
|
Post by igori on Nov 1, 2022 16:22:39 GMT
Hello,
I have a survey with 3 groups: 2 experimental, 1 control, and the app is supposed to randomly assing each participant to one of the groups. It does that, but sometimes, it forces the participant to complete two random experiments instead of one. I saying sometimes, because it sometimes works as expected. Do you have any idea what's going on? Here's the part of the code:
|
|
|
Post by wooders on Nov 1, 2022 22:26:43 GMT
igori,
It needs to be scripted so that there is a jump after each grouping otherwise it will continue in order. You should solve the problem by adding the jump command again after the Group 2 experiment. This will prevent the Group2 from rolling into Group 3 which is what I think is happening.
l: Group2
t: experiment
- Mag_Grupa_Eksperymentalna2
l: alwaysjump
t: jump
- goto Ankieta1
l: Group3
t: experiment
- Mag_Grupa_Kontrolna1
|
|
igori
New Member
Posts: 4
|
Post by igori on Nov 2, 2022 14:17:11 GMT
Hey, I think I tried that before and it didn't work. When I added the command now I get an error: Do you know why?Edit: Solved the issue.In case someone else runs into similar issue, here's the solution: Use the: l: alwaysjump
t: jump
- goto XXX after the first condition/group, but after the second, you need to use: l:
t: jump
- goto XXX
|
|