Adding branching logic to survey

More
3 years 3 weeks ago #108346 by markehuber
markehuber created the topic: Adding branching logic to survey
Hi, I am creating a survey and would like to add branching logic. Within LimeSurvey I have created 12 groups of questions. Based on how the questions are answered, I would like to be able to skip over several groups of questions. Is this possible using LimeSurvey?

Please Log in to join the conversation.

More
3 years 3 weeks ago - 3 years 3 weeks ago #108350 by Gophermuncher
Gophermuncher replied the topic: Adding branching logic to survey
I don't know javascript so the way I did it was this:

If you can, replicate the logic using the conditions option for an individual question. Save it. Then copy everything in the Relevance equation portion for that question and then paste it into the actual question group.
Last Edit: 3 years 3 weeks ago by Gophermuncher. Reason: edited for clarity

Please Log in to join the conversation.

More
3 years 3 weeks ago #108355 by holch
holch replied the topic: Adding branching logic to survey
You can use either Expression Manager or conditions.

Expression Manager needs some basic coding, but once you got it, it is really quick.

So if you want to show another question only if in a previous question the code 2 was marked it would be something like this:
Q1==2
With Q1 being the question code of the question you want to base the filter on.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now