- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
condition
- ericmangez
- Topic Author
- Offline
- New Member
Less
More
1 week 5 days ago #260533
by ericmangez
condition was created by ericmangez
Please help us help you and fill where relevant:
Your LimeSurvey version: Version 5.6.58+240403
Own server or LimeSurvey hosting: UCLouvain
Survey theme/template:
==================
I access Limesurvey through my university. I am professor of sociology at UCLouvain, Belgium. I have a very basic problem. I just want to include a simple condition in a question. I want (bootstrap) question G01Q22 to be displayed only if the answer to (bootstrap) question G01Q21 (which comes just before) is "versqa". I wrote the following condition in the parameters of G01Q22:
G01Q21== ' versqa'
The condition seems correctly written. The question codes are correct. The answer is correctly typed... I checked a thousand times. I verified every single detail. I have read the instructions over and over again. And I cannot seem to find what's wrong. Could you please help me?
Your LimeSurvey version: Version 5.6.58+240403
Own server or LimeSurvey hosting: UCLouvain
Survey theme/template:
==================
I access Limesurvey through my university. I am professor of sociology at UCLouvain, Belgium. I have a very basic problem. I just want to include a simple condition in a question. I want (bootstrap) question G01Q22 to be displayed only if the answer to (bootstrap) question G01Q21 (which comes just before) is "versqa". I wrote the following condition in the parameters of G01Q22:
G01Q21== ' versqa'
The condition seems correctly written. The question codes are correct. The answer is correctly typed... I checked a thousand times. I verified every single detail. I have read the instructions over and over again. And I cannot seem to find what's wrong. Could you please help me?
Attachments:
Please Log in to join the conversation.
- ericmangez
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
1 week 5 days ago #260534
by ericmangez
Replied by ericmangez on topic condition
I just forgot to say what is actually wrong: the question is not displayed at all, no matter how I answer G01Q21. The question G01Q22 does not appear at all when I visualize the questionnaire. It goes directly to the next question, as if the condition was never met, even when it is
Please Log in to join the conversation.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12959
- Thank you received: 3986
1 week 5 days ago - 1 week 5 days ago #260535
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic condition
Is "versqa" really the question code?
I don't think so.
Question codes are limited to 5 characters.
Or is it the text of the answer option?
In this case the condition is
G01Q21.shown=="versqa"
Joffm
I don't think so.
Question codes are limited to 5 characters.
Or is it the text of the answer option?
In this case the condition is
G01Q21.shown=="versqa"
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 week 5 days ago by Joffm.
The following user(s) said Thank You: ericmangez
Please Log in to join the conversation.
- ericmangez
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
1 week 5 days ago #260539
by ericmangez
Replied by ericmangez on topic condition
Thank you very much Joffm. I should have found this myself but the instructions I could access all dealt with conditions through buttons, while my version of limesurvey requires "writing" the conditions, and I had not seen indication about the inclusion of ".shown"
Thanks again for the quick and efficient support
Thanks again for the quick and efficient support
Please Log in to join the conversation.