Welcome to the LimeSurvey Community Forum

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

Conditional Question

  • carlochecchia
  • carlochecchia's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 2 weeks ago #267372 by carlochecchia
Conditional Question was created by carlochecchia
I’m currently working on a survey to evaluate an app called XPT, and I’ve encountered a challenge while implementing conditional logic in LimeSurvey. The survey asks respondents if they know of similar apps to XPT, and depending on their answer, they can provide a list of up to five similar apps. The tricky part comes in with the follow-up questions, where I want to ask which app they think is better—XPT or one of the apps they listed.The ScenarioThe key parts of the survey look like this:
  1. Do you know of any apps similar to XPT?
    Respondents answer Yes or No.
  2. If they answer Yes, a Multiple Choice with Comments question follows, where they can list up to five similar apps.
  3. If they list at least one app, there’s a follow-up question asking, Which app do you think is better: XPT or the apps you listed? The answer options should include the listed apps from the previous question.


    Can you please assist? I have tried creating the survey but I am getting stuck in the last part. 
    I need the question to show the options only if comments were inserted.

    Please see the file i created attached to this message 

    File Attachment:

    File Name: limesurvey..._APP.lss
    File Size:56 KB

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 months 2 weeks ago - 3 months 2 weeks ago #267377 by Joffm
Replied by Joffm on topic Conditional Question
If you really want to do it this way (with an array) you have to install the plugin "hideEmptyColumns"
[url] gitlab.com/SondagesPro/QuestionSettingsType/hideEmptyColumn [/url]

I wonder why you didn't answer the questions at the beginning. So we do not know if you are allowed to install plugins.

Then you may get this.
BTW: I changed the second question to "multiple short text" with condition to hide the next rows unless a row is filled.
And in my opinion there shouldn't be "none" in the second question; the respondent said that he knows similar apps.
 
 

As you see, P6 and P7 have to be on different pages.
 

File Attachment:

File Name: limesurvey...2861.lss
File Size:55 KB


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 months 2 weeks ago by Joffm.

Please Log in to join the conversation.

  • carlochecchia
  • carlochecchia's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 2 weeks ago #267423 by carlochecchia
Replied by carlochecchia on topic Conditional Question
Hi There
Thanks for the quick answer. It works

PS: I am not sure what the 'questions at the beginning' were, but I am sorry i didnt not answer them. I must have missed it.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 months 2 weeks ago #267426 by Joffm
Replied by Joffm on topic Conditional Question
These questions
 

Joffm

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

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose