Welcome, Guest
Username: Password: Remember me

TOPIC: Adding branching logic to survey

Adding branching logic to survey 6 months 2 weeks ago #108346

  • markehuber
  • markehuber's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
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?
The administrator has disabled public write access.

Adding branching logic to survey 6 months 2 weeks ago #108350

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: 6 months 2 weeks ago by Gophermuncher. Reason: edited for clarity
The administrator has disabled public write access.

Adding branching logic to survey 6 months 2 weeks ago #108355

  • holch
  • holch's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 2952
  • Thank you received: 379
  • Karma: 124
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.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.
The following user(s) said Thank You: DenisChenu
Moderators: ITEd
Time to create page: 0.161 seconds
Donation Image