Welcome to the LimeSurvey Community Forum

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

Setting relevance on Array by column

  • CommCulture
  • CommCulture's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #122042 by CommCulture
Setting relevance on Array by column was created by CommCulture
Hi

I hope someone can help.

I have set up an Array by column question and applied subquestion relevance code to the subquestions - please see attached.

This basically determines which brands should be shown - so, for example, Hays will only be shown if Hays has been chosen at an earlier question called Q2aTel (which is multi question). It looks like it should work correctly, however it doesn’t appear to hide the columns in the array if the options are not chosen a Q2aTel. Example attached - the brand Hays

Any advice would be greatly appreciated.

Many thanks
The topic has been locked.
More
8 years 8 months ago #122050 by LSdev
The following user(s) said Thank You: CommCulture
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #122052 by DenisChenu
Replied by DenisChenu on topic Setting relevance on Array by column
I cxan be made with some JS .

Please test : www.limesurvey.org/en/community-services...s/75-hideemptycolumn

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: CommCulture, LSdev
The topic has been locked.
More
8 years 8 months ago #122056 by LSdev
Replied by LSdev on topic Setting relevance on Array by column
Actually this was what first came to my mind but I thought it will work with only Array and not with Array with columns. Thanks for the update Denis
The topic has been locked.
  • CommCulture
  • CommCulture's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #122074 by CommCulture
Replied by CommCulture on topic Setting relevance on Array by column
Many thanks for coming back to me.

Can I just check - the plugin says compatible with 2.05; however I am using 2.06?

Also, sorry I'm new to this - how do I install a plugin?

Many thanks.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #122077 by DenisChenu
Replied by DenisChenu on topic Setting relevance on Array by column
Hi think it compatible with 2.06 (because example link is 2.06).

Download/extract/ Move the directory to ./plugins/ director (you have ./plugins/hideEmptyColumn/hideEmptyColumn.php and other .
Go to admin page, activate the plugin. Check in your survey seetings if the plugin is activated.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • CommCulture
  • CommCulture's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #122108 by CommCulture
Replied by CommCulture on topic Setting relevance on Array by column

LSdev wrote: manual.limesurvey.org/Workarounds:_Manip...2Multiple-Options.22


Hi LSdev,

Thank you for your suggestion - I actually used this code and it works great. The only slight issue I am having is that if my array by column is compulsory it won't less me get past this questions, because although some subquestions are hidden, it still wants me to fill them in. If you have any suggestions it would be greatly appreciated!

I could always make it non compulsory - but ideally I don't want to.

Thank you (again!)
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #122138 by tpartner
Replied by tpartner on topic Setting relevance on Array by column
@DenisChenu, why do we need a plugin for this? In LS 2.06, shouldn't subquestion filtering work out of the box?

@CommCulture, can you please attach a small survey (with only those questions) for me to test?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose