Welcome to the LimeSurvey Community Forum

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

Hide array subquestions based on token atributes

  • johannnson
  • johannnson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago #127421 by johannnson
Hi,

I searced the manual and the forum but couldn't find a solution.
My panel consists of people who registerd for one or several events but I don't know if they attended.
The problem is that the number of possible events differs.

So first question should be a matrix of alle the registerd events from a user, where he can answer if he attended or not.
Second question if they attended would be if they liked it or not, if they don't attended it would by why not.

Thanks!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 5 months ago #127422 by tpartner
In LS 2.06 you can set relevance for sub-questions (click on the "R" icon).

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • johannnson
  • johannnson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago #127427 by johannnson
Replied by johannnson on topic Hide array subquestions based on token atributes
Thanks for the hint, but I would also need some help to set the correct relevance syntax
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 5 months ago - 8 years 5 months ago #127429 by tpartner
Depending on what the token attributes are, it would be something like:

Code:
TOKEN:ATTRIBUTE_1 == '1'

See Expression Manager in the manual - manual.limesurvey.org/Expression_Manager#Access_to_Variables

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 8 years 5 months ago by tpartner.
The following user(s) said Thank You: johannnson
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose