Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Filter the column of an array question

Filter the column of an array question 2 years 5 months ago #68709

  • fredieby
  • fredieby's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Thank you received: 1
  • Karma: 0
Can I use array filter to filter the column of an array question?

Grateful if someone can help me. :unsure:

Fredieby
Last Edit: 2 years 5 months ago by fredieby.
The administrator has disabled public write access.

Re: Filter the column of an array question 2 years 5 months ago #68719

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 3813
  • Thank you received: 683
  • Karma: 328
Unfortunately that's not possible. Can you give more details on what you would like to accomplish?
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: Filter the column of an array question 2 years 5 months ago #68720

  • fredieby
  • fredieby's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Thank you received: 1
  • Karma: 0
Thank you for your reply!

For example:

Q1 Please choose the letter(s) you like

A
B
C

Q2 Please evaluate the letter(s) chosen in Q1 on the following:

A B C
Most attractive
Is Best
Will never use

That kind of question you see? Can you help me out?

Cheers,
Fred
The administrator has disabled public write access.

Re: Filter the column of an array question 2 years 5 months ago #68724

  • holch
  • holch's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 2445
  • Thank you received: 254
  • Karma: 94
Well, as far as I see it, you have two options:

1. You put the letters not in the column, but as responses. At the end of the day, the result is the same and you can filter it.

2. There is question type, where you can switch the display of column and lines, can't remember the name. Something like array by column, or something.

But to be honest I think the first version is the best and actually makes the most sense. "Most attractive", etc. should be as columns, as it is the scale in my opinion.
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!
Last Edit: 2 years 5 months ago by holch.
The administrator has disabled public write access.

Re: Filter the column of an array question 2 years 5 months ago #68837

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 3813
  • Thank you received: 683
  • Karma: 328
I agree with Holch.

You could achieve exactly what you want with JavaScript and/or CSS but why re-invent the wheel?

I would go with a standard array and filter.
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: Filter the column of an array question 2 years 5 months ago #68973

  • fredieby
  • fredieby's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Thank you received: 1
  • Karma: 0
Thanks guys.

The only thing is that I have long attributes and displaying them in column is not really convenient for reading.

Moreover the array by column doesn't provide the array filter option.

Cheers,
Fred
The administrator has disabled public write access.

Re: Filter the column of an array question 2 years 5 months ago #68991

  • holch
  • holch's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 2445
  • Thank you received: 254
  • Karma: 94
Yes, you are right. I checked it and the array filter is not available for 'array by column'.
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.

Re: Filter the column of an array question 2 years 5 months ago #68994

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 3813
  • Thank you received: 683
  • Karma: 328
Fred, are the questions on the same page or separate pages?
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: Filter the column of an array question 2 years 5 months ago #69007

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 3813
  • Thank you received: 683
  • Karma: 328
Never mind that last question.

I've developed a workaround to filter an "Array by Column" question by the answers from a previous "Multiple Options" question. The multi-options question can be on the same page or a previous page.

docs.limesurvey.org/tiki-index.php?page_...ltiple-Options_quot_
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: fredieby

Re: Filter the column of an array question 2 years 5 months ago #69271

  • fredieby
  • fredieby's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Thank you received: 1
  • Karma: 0
Hi Tony,

You're a genius!!!!
Many thanks for this workaround!

If I could do anything to help please let me know :)

Cheers,
Fred
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.123 seconds
Donation Image