=1emCould you give me an example or a link to take as a reference and do the tests?
Well, these basics like
"conditions" - on group level and question level
"relevance equation" - as it is still called on subquestion level
you have to learn.
Just read the manual and study the sample surveys.
[url]
www.limesurvey.org/manual/ExpressionScript_sample_surveys
[/url]
A relevance equation is just a logical term that can be TRUE or FALSE.
If TRUE, the group / question / subquestion is displayed, if FALSE it is not displayed.
Now, when is p3_1 displayed?
When either p1_1 is selected or p2_1 is selected.
I hope you know that in "multiple" question "Y" is stored, if selected, else "" (blank)
So this condition is nothimg else than
p1_1=="Y" or P2_1=="Y" - one of them was selected.
Now one addition.
Because p2_1 may not have been displayed, this condition will fail, because it is not defined.
Therefore you have to add ".NAOK"
[url]
www.limesurvey.org/manual/ExpressionScri...ion/en#Usage_of_NAOK
[/url]
Meaning, finally the subquestion relevance of p3_1 will be
p1_1.NAOK=="Y" or p2_1.NAOK=="Y"
The other subquestions analogue.
Or you could use a slightly different approach
p3_1 is displayed, if the count of selected items in p1_1 and p2_1 is greater than 0
So you could use
count(p1_1.NAOK,p2_1.NAOK)>0
About the function "count()" and all other implemented functions read the manual
[url]
www.limesurvey.org/manual/ExpressionScri...mplemented_functions
[/url]
Joffm