Welcome, Guest
Username: Password: Remember me

TOPIC: Array Filter use

Array Filter use 3 years 5 months ago #58662

  • jenllip
  • jenllip's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Hello all!

I may just be having a brain fart, but the Array Filter option doesn't seem to be working as expected and I can't squeeze any more answers out of the documentation in the wiki.

I have Q1 set up as a 'multiple option.'

I copied Q1 to Q2 (so all answers and codes are the same), and changed it to an 'array (flexible labels)' type with the Array Filter set to Q1.

...and nothing happens. Q2 appears blank regardless of what is checked/unchecked in Q1. Am I not properly formatting the question code in the array filter box? Do Q1 and Q2 need to be on separate pages? Do I need to set up a JS listener to listen to what's marked in Q1 in order to update what shows in Q2?

Many thanks,

Jen
The administrator has disabled public write access.

Re: Array Filter use 3 years 5 months ago #58746

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
1. Which Limesurvey version do you use?

2. Do you use array text as second question type?

There have just been some fixes recently, maybe you can test the current SVN version if the problem still exists?!

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.

Re: Array Filter use 3 years 5 months ago #58766

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4195
  • Thank you received: 789
  • Karma: 359
What have you placed in the Array filter box of Q2? It needs to be the question code of Q1, not the question ID.

Untitled-1_2011-03-25.png
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.

Re: Array Filter use 3 years 5 months ago #58792

  • jenllip
  • jenllip's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Tony, you're a genius. Thanks!!!
The administrator has disabled public write access.

Re: Array Filter use 3 years 5 months ago #58793

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4195
  • Thank you received: 789
  • Karma: 359
Aw, shucks...:blush:
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.

Re: Array Filter use 3 years 5 months ago #58795

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2683
  • Thank you received: 325
  • Karma: 121
I think it is quite confusing that for many things you need to use the question ID and for others the question code.

Seems quite random to me. Is there any good reason for this?
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.
Moderators: ITEd
Time to create page: 0.112 seconds
Donation Image