- Posts: 5
- Thank you received: 0
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
- Topic Author
- Offline
- New Member
Less
More
5 months 1 week ago #252253
by MiriamHo
Set a condition on a url-parameter stored in a hidden question was created 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!
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12940
- Thank you received: 3979
5 months 1 week ago #252255
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Set a condition on a url-parameter stored in a hidden question
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
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
5 months 1 week ago #252262
by MiriamHo
Replied by MiriamHo on topic Set a condition on a url-parameter stored in a hidden question
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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
5 months 1 week ago #252266
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Set a condition on a url-parameter stored in a hidden question
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12940
- Thank you received: 3979
5 months 1 week ago #252269
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Set a condition on a url-parameter stored in a hidden question
And do not hide question while you create or test a survey.
So you see what happens.
Hide after it is tested thoroughly.
Joffm
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
5 months 1 week ago #252271
by MiriamHo
Replied by MiriamHo on topic Set a condition on a url-parameter stored in a hidden question
Thank you both for your help and recommendations. It seems to work well now.
Miriam
Miriam
Please Log in to join the conversation.