Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Check Box Array + Randomized rows and columns + Relevance Equations + "None"

  • maxersloan
  • maxersloan's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 8 months ago #243997 by maxersloan
Please help us help you and fill where relevant:
Your LimeSurvey version: Any
Own server or LimeSurvey hosting: Own
Survey theme/template: Any
==================
Hello, I'm trying to create an array question with the following requirements:
  1. Checkbox layout
  2. Respondent can select as many options as they want for each subquestion
  3. Randomized rows
  4. Randomized columns
  5. Show/hide columns based on a previous question
  6. Always show a "None of these" option in the last column, which will also be an exclusive option
For context, the rows will be attribute statements ("Good value for the money", "Quality product", etc.) while the columns will be brands that the respondent is aware of (based on the previous question). I want them to be able to select as many brands as they want (not just one brand per statement).

I have searched all day on the forums and manual with no luck. Is this possible?

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 8 months ago - 1 year 8 months ago #244002 by holch
I think the way you envision it won't be possible. Maybe with a lot of custom Javascript.

The issues that I see are mainly related to columns. Randomized columns, show/hide columns based on previous questions, which is not possible out of the box.

You can hide rows though. So if you could move the brands into rows and the attributes into columns, at least parts can be solved out of the box.

Always show a "None of these" option in the last column, which will also be an exclusive option


In my opinion this is unnecessary, as they just can leave the row empty which means "none of these" anyway.
 

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
Last edit: 1 year 8 months ago by holch.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 8 months ago #244013 by Joffm
Hi,

  1. Checkbox layout
  2. Respondent can select as many options as they want for each subquestion
  3. Randomized rows
  4. Randomized columns
  5. Show/hide columns based on a previous question
  6. Always show a "None of these" option in the last column, which will also be an exclusive option

1.-3. Settings of an array(numbers)
4./6.. [url] forums.limesurvey.org/index.php/forum/ca...clusive-optio#230493 [/url]
This is only 10 month old. And you did not find it?
5. plugin "hideEmptyColumn"
[url] gitlab.com/SondagesPro/QuestionSettingsType/hideEmptyColumn [/url]

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • maxersloan
  • maxersloan's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 8 months ago #244022 by maxersloan
I did see that post and I spent much of my day yesterday reading it. However, I can't use array numbers because the brands (which require relevance equations) need to be the columns. So I assumed my only option was array by columns. Is that correct?

I tried using tony's code in my array by column question but could not get it to work. I'm sure it is possible to get it to work but my code knowledge is very elementary.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 8 months ago #244026 by Joffm

I can't use array numbers because the brands (which require relevance equations) need to be the columns.

Of course you can.
As I wrote, the "relevance" of columns is done by the plugin "hideEmptyColumn"
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 8 months ago #244031 by Joffm
I do not see any issue. Version 5.6.25
I used this sample file (with the included "hideEmptyColumn" script) and added Tony's scripts
[url] forums.limesurvey.org/index.php/forum/ca...th-checkboxes#243426 [/url]



Ranomized y-axis, randomized x-axis, only selected names shown


And last column exclusive, other checkboxes grayed.


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • maxersloan
  • maxersloan's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 8 months ago #244033 by maxersloan
Thanks! It works for me now also. Unfortunately it didn't work on 2.6.7 and I had to use version 5 to get it to work :) (Although I'm seeing the same bug bugs.limesurvey.org/view.php?id=18833 )

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 8 months ago - 1 year 8 months ago #244035 by Joffm

Unfortunately it didn't work on 2.6.7 and I had to use version 5 to get it to work

Easy to understand.
I think you know that here was a big chance with version 3.x.
Now LS was based on bootstrap 3 (bootstrap 5 from version 6.x. on) instead JQueryUI, the Twig engine was implemented, and much more.
And in the plugin is stated
This plugin is tested with LimeSurvey 3.15.5, 3.27.34 and 5.2.9.
and according Tony's scripts: the threadopener uses 5.3.23. Therefore this sample survey was for 5.x. You can't import it into 3.x.
Because of an improvement of internationalization in version 5.x. you can import 3.x. into 5.x., but not 5.x. into 3.x.

And remember: you answered the question at the beginning  "Version: any"

Your other question was about your stone age version 2.6.7
I really doubt that many of us will have it still installed.

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 year 8 months ago by Joffm.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose