Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Build Matrix based on previous multiple choice question

  • viking84
  • viking84's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #149733 by viking84
Hi all,

I'm new to limesurvey and have been searching the forum quite a bit, but can't seem to find the correct option.

What I'm trying to do is ask a multiple choice question first, and then follow up with a 5-point matrix listing only the checked options from the multiple choice question.

e.g. multiple choice offers options 1-10, user has selected 1,3,4,9:

Matrix should list options 1,3,4,9 with a 1-5 rating.

How would I go about it, if possible at all?

Many thanks in advance!
The topic has been locked.
More
7 years 1 month ago - 7 years 1 month ago #149735 by Bielefeld
Hi,

This is possible (LS version = current) by using the nice
feature "Relevance equation" for the sub-questions
of your matrix with a little trick:

The depending item (here: your matrix) cannot be in
the same group with the question that restricts the item.

Reason: There is no dynamic reload of the sub-questions
depending on previous selection actions on the same page,
so there has to be one "Next"-button-click between these two.
Plus: You must use the default of one group per "page"
which enables the "Next"-button between groups/pages.

Since there is no "Set conditions"-button in the top menu
when editing sub-questions, you will need to understand the
syntax of these conditions first, e.g. by defining conditions
for a dummy non-sub-question and copying them over to your
actual sub-question relevance equation fields... :)

Cheers,
Stefan

Version 2.63.1+170305
Last edit: 7 years 1 month ago by Bielefeld. Reason: typo
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #149736 by tpartner

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #149777 by holch
While you can do it with the subquestion relevance like Bielefeld suggested, I would rather go with Tpartners suggestion "Array filter". If it is like you described it, this is the quickest solution. For Bielefelds solution you need to write a relevance equation for each option, which will be a lot more work than using the Array Filter, which is exactly made for the described scenario.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose