Welcome, Guest
Username: Password: Remember me

TOPIC: Passing on column values between multiple matrices

Passing on column values between multiple matrices 2 years 10 months ago #70146

  • aklisboa
  • aklisboa's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hi everyone,

I am running into a problem creating a survey.

My first question is multiple choice question. Then, I randomly select not more than 4 answers from that multiple choice question to fill the column matrix question (i.e. each of the 4 random draws is a line on a Likert scale now, the others are hidden with JS). The thrid (forth, fifth and so on..) questions are again Likert scale Matrix questions and should use the same answer options as the second one. That last thing (passing on the 4 randomly selcted options beyond question 2) is what I can't get to work.
Does anybody have an idea how to do this?

Thanks in advance
Adri



This is how it's supposed to work:
Question 1:
Which dog breeds do you know? (multiple choice list of 30 breeds)

Question 2: (no problem here)
Select up to 4 known breeds randomnly and present in Matrix question

Question 3 (-> that's where I'm stuck!)
Getting the exact 4 breeds in that order from question 2 in another Matrix question
The administrator has disabled public write access.

Re: Passing on column values between multiple matrices 2 years 10 months ago #70155

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4281
  • Thank you received: 807
  • Karma: 370
How do you filter Q2?

Maybe if you are using "group-by-group" mode you can:

1) In the Q1 group, add a hidden multiple options question (QHidden) with the same answer codes as Q1.

2) Use JavaScript to check the same options in the hidden question as checked in Q1.

3) Use JavaScript to uncheck random options, leaving the required number checked.

4) Filter the following array with QHidden.
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: aklisboa

Re: Passing on column values between multiple matrices 2 years 10 months ago #70164

  • aklisboa
  • aklisboa's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Sweet, works like a charm!
The administrator has disabled public write access.

Re: Passing on column values between multiple matrices 2 years 10 months ago #70165

  • Mazi
  • Mazi's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 5333
  • Thank you received: 296
  • Karma: 249
aklisboa wrote:
Sweet, works like a charm!
You're welcome!

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.114 seconds
Donation Image