Hi! Im trying to figure out a problem with my survey - different question groups should be shown to the participant based on gender and a random number.
My first question (group1) uses the equation {rand(1,2)} to assign the participant a random number, either 1 (photo) or 2 (video). In the next question (sex3), the participant needs to select his/her gender (f=1, m=2). Following the questions, I created 4 question groups, these should be displayed as follows: Group 1 (f, 1), Group 2 (m, 1), Group 3 (f, 2) and Group 4 (m, 2). By this, I aim to only display one of the four groups to the participant.
I used the following relevance equations for the questions assigned to the respective groups:
Group 1: ((sex3 == 1 && group1 == 1))
Group 2: ((sex3 == 2 && group1 == 1))
Group 3: ((sex3 == 1 && group1 == 2))
Group 4: ((sex3 == 2 && group1 == 2))
For some reason, the survey correctly choses the question groups based on gender, but does not take into account the random number created in group1.
I've looked into this forum quite extensively but couldn't manage to find a solution to my problem. Does anyone here know what causes this issue? I would be really thankful, if someone could help me fix this
To make it a little easier, I attached the lss file including the 4 question groups:
Thank you!!!