Check out the LimeSurvey source code on GitHub!

Array Filter use

More
5 years 9 months ago #58662 by jenllip
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

Please Log in to join the conversation.

More
5 years 9 months ago #58746 by Mazi
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)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 9 months ago #58766 by tpartner
What have you placed in the Array filter box of Q2? It needs to be the question code of Q1, not the question ID.


Cheers,
Tony Partner

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

Please Log in to join the conversation.

More
5 years 9 months ago #58792 by jenllip
Tony, you're a genius. Thanks!!!

Please Log in to join the conversation.

More
5 years 9 months ago #58793 by tpartner
Aw, shucks...:blush:

Cheers,
Tony Partner

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

Please Log in to join the conversation.

More
5 years 9 months ago #58795 by holch
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 | Workarounds

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form