Welcome to the LimeSurvey Community Forum

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

condition

  • ericmangez
  • ericmangez's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 6 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?

Please Log in to join the conversation.

  • ericmangez
  • ericmangez's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 6 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
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 6 days ago - 1 week 6 days ago #260535 by Joffm
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

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 week 6 days ago by Joffm.
The following user(s) said Thank You: ericmangez

Please Log in to join the conversation.

  • ericmangez
  • ericmangez's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
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

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose