Hi,
I have a question which need to be shown based on a value from a previous answer
The logic is :
only show this question if answer is not "A" and answer is not "b"
I understand that I can't create a condition with an "AND" logic if it's based on the same question (only an "OR" condition can be set) so I've created an equation instead with an AND logic instead of an OR.
But now the question is hidden no matter what.
Can anyone have an idea why this is happened?
this is the equation:
((quest.NAOK != "ans1")) AND ((quest.NAOK != "ans2"))
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
In the condition manager you have to create a new scenario to do this.
But nowadays - since we have the Expression manager - it's a lot easier.
You created an question of type equation. Why? And it doesn't work?
Unless you do not show us exactly what you did, we cannot help.
But you do not need the equation.
Just enter your condition in the Relevance equation of the question.
So, if Q2 is only displayed if (Q1!=1 AND Q1!=2), enter this in the Relevance equation of Q2.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless