Welcome, Guest
Username: Password: Remember me

TOPIC: How to filter only a line within a matrixquestion

How to filter only a line within a matrixquestion 6 months 1 week ago #105003

Hello,

I have a question how to filter not a question but a line (Matrix).

Senario:

Question 1:

How many dogs do you have?

A1: One dog
A2: two dogs
A3 three dogs

Question 2:

What kind of dog do you have?

IF Q1.NAOK == "A1" SQ001 "Dog One" (Drop Down List with kind of dogs)
If Q1.NAOK == "A2" SQ001 "Dog One" AND Sq002 "Dog two" should appear.

I try to avoid to create three different Questions (Dog one; Dog one& Dog two; Dog one, dog two & dog three) because it is easier to analyse with with only three colums for three dogs. Thx for help
The administrator has disabled public write access.

How to filter only a line within a matrixquestion 6 months 6 days ago #105045

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4117
  • Thank you received: 760
  • Karma: 346
There is no way to set relevance for sub-questions. You can use JavaScript but it gets a little complicated when dealing with mandatory states.

Easiest to use 3 separate questions for your dropdowns.


.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: firstservey

How to filter only a line within a matrixquestion 6 months 2 days ago #105194

Thank you!
The administrator has disabled public write access.

How to filter only a line within a matrixquestion 6 months 2 hours ago #105304

  • emimarz
  • emimarz's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 21
  • Thank you received: 5
  • Karma: 1
Basically you need a survey for each dog but maybe you are interesting on this

You don't care What kind of dog is the dog1 and the dog2 don't mind

I would do the next

I would add an array 5 point choices
as sub question you add various kind and the last one is "other"

Then the user when complete the survey select how many dogs each kind he has

Kindest regards
Emiliano
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.129 seconds
Donation Image