Welcome to the LimeSurvey Community Forum

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

Set a condition on a url-parameter stored in a hidden question

  • MiriamHo
  • MiriamHo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 months 1 week ago #252253 by MiriamHo
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.2.0
Own server or LimeSurvey hosting: own server
Survey theme/template: vanilla
==================
Hello,

We are currently working with a panel provider. Participants fill out a few screening questions first (on the page of the provider) and are then directed to our Survey. Now I would like to display a few questions in our survey conditional on the reply the participants gave in one of the screening questions (yes or no). I have already set up the panel integration function with the parameter and the (hidden) target question. The parameter is called n and the target question flex. How can I now display some questions only to those who answered "yes" to the correspondig screening question.

Thanks a lot for your help!
 

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 1 week ago #252255 by Joffm
Hi,
why not?
In your target question you capture the value of the parameter n.
Now you use this question "flex" in your conditions of some further questions, like flex=="Yes"

Joffm

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

Please Log in to join the conversation.

  • MiriamHo
  • MiriamHo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 months 1 week ago #252262 by MiriamHo
Hi Joffm

Thanks for your reply. I was just unsure because the answer categories of the "flex" question are not actually created in the survey itself but imported from the environment of the panel provider. But if I understand you correctly, I can nevertheless use these imported answer categories as conditions.

Best, Miriam

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 1 week ago #252266 by holch
If you can see the answer saved in the question, you can use it. Limesurvey doesn't care where the answer comes from. You tell LS to look in the question "flex" and if it says "n" or not. That is all LS will do. It won't question you about where you got this answer from. :-)

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 1 week ago #252269 by Joffm
And do not hide question while you create or test a survey.
So you see what happens.
​​​​​​Hide after it is tested thoroughly.

Joffm

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

Please Log in to join the conversation.

  • MiriamHo
  • MiriamHo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 months 1 week ago #252271 by MiriamHo
Thank you both for your help and recommendations. It seems to work well now.

Miriam

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose