Hi everyone,
For this survey, I want people to choose between two 2 people, A or B.
And if they want, they could tick a 3rd answer "random draw".
I didn't manage to made the choice "Person A" or "Person B" compulsory and at the same time "Random draw" optional with a question validation equation.
I've tried several things :
- I used to assign an assessment value to each subquestion, but it's doesn't work with MCQ, so I used a table : if(sum(Q1_SQ001.value, Q2_SQ002.value) >= 1, 1, 0)
- I tried to use some fomulas : if(Q1_SQ001.question=="Person A", 0, if(Q1_SQ002.question=="Person B", 0, 1))
- Or this formula ("random draw" for the entire SQ003 subquestion) if(Q1_SQ003=="random draw", 0, 1))
With each formulas, in the logical module, I have this formula :
Code:
(VALIDATION: (1) and ((sum( ! (if([url=https://enquetes.unicaen.fr/index.php/admin/questions/sa/view/surveyid/696871/gid/33328/qid/377821]Q1_SQ001.question[/url] == "Person A", 0, if([url=https://enquetes.unicaen.fr/index.php/admin/questions/sa/view/surveyid/696871/gid/33328/qid/377821]Q1_SQ002.question[/url] == "Person B", 0, 1)))) == 0)))
I've looked for other topics on question validation equation, but I didn't find something about this sum.
Please let me know if someone have an idea.
Thanks a lot.
Taka