Hi, I love LimeSurvey however I can't seem to get my question flow logic working.
I'm getting stuck with the relevance equation syntax and I have a hard figuring out what is wrong with the syntax even
after reading the manual and using Google.
First I divide the participants in 5 groups. 1-4 are the manipulation groups, 5 is the control group.
random: [1] if(random > 0, random, rand(1, 5))
With these groups I want to accomplish 2 things:
- Show some questions(groups) only to participants in group 1 to 4 and not the control group
- If a participant in group 1-4 answers "Nee" ("No" in Dutch) asking if they noticed the manipulation, exit the survey for them as they can't answer the rest of the questions.
I can show questions to group 1-4 only with "random!=5" in the relevance equation.
However I get stuck checking if a user is in Group 5 (and therefore needs to see the question)
OR is in group 1-4 and has answered "Ja" (Yes) on a question to check if they have seen the manipulation, in which case they still participate.
The code I have used in the relevance equation: random==5 OR adseecheck=="Ja"
and many variations but I can't get it to work and have a hard time debugging it.
The question on which Group 1-4 needs to answer "Ja"(Means Yes) or the rest of the questions should get skipped for them.
Question code: adseecheck
code answer option
A1 Ja
A2 Nee
My survey flow is the following:
Introduction
- Instructions
- (hidden) Randomized groups with: if(random > 0, random, rand(1, 5))
- Video Displayed: Group 1 to 4 see a manipulation video (each group has a different one) + main video, Group 5 sees only the main video as a control group
- Group 1-4 get's asked if they noticed the manipulation video, if they answer no the survey should end here for them, Group 5 should not see this question
- Group 1-4 get's a question group about the manipulation video, Group 5 should not see this
- Question group about the main video for Group 1 - 5.
- General question group for Group 1 - 5.
- Survey End
Thank you!