Welcome to the LimeSurvey Community Forum

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

Conditional Question Groups

  • mwillett
  • mwillett's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 9 months ago #96699 by mwillett
Conditional Question Groups was created by mwillett
Is there a way to make an entire question group dependent on the answer to a previous question from a different group. I have tried to copy and paste the relevancy equation that shows up on the survey logic file into the field for the relevancy equation on the screen to edit the question group, but it is not showing up on the survey logic file as having a relevency equation attached to the group. If I copy it into the questions themselves, without setting it through the "set conditions" button, it does this as well. I guess that is two different questions any help with either would be greatly appreciated.

Thanks!

Mirranda
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 9 months ago #96707 by tpartner
Replied by tpartner on topic Conditional Question Groups
What LimeSurvey version are you using?

Can you post your relevancy equation?

The group relevance equation works for me (and appears in the logic file).

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • mwillett
  • mwillett's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 9 months ago #96728 by mwillett
Replied by mwillett on topic Conditional Question Groups
The bottom of my screen says I am using version 2.00+

This is what it looks like now on the question group:

Relevance: ((ROLE.NAOK == "1" or ROLE.NAOK == "4"))

This is now coming up on the survey logic screen when I check on it. I logged out and logged back in and this seemed to get it, and the group description, to show up in the survey logic screen. Yet when I go to copy conditions, it says there are no conditions in my survey.

Another question I have now is that when I make a question conditional it shows numbers instead of text in the relevance box on the edit screen. So I am wondering if the((ROLE.NAOK == "1" or ROLE.NAOK == "4"))will do anything for the group. I had tried it with the numbers in a different survey, but in the end it told me there were no conditions in my survey, even though numbers would show up on the actual question in the relevance field right below the question itself on the edit screen. I wish I knew more about programing and such. I feel like I could get so much more out of Limesurvey if I was more familiar with stuff like that.

Does any of that make sense?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 9 months ago #96731 by tpartner
Replied by tpartner on topic Conditional Question Groups

Yet when I go to copy conditions, it says there are no conditions in my survey.

The Conditions Designer and Expression Manager (which handles relevance) are not 100% integrated. So, as far as I know, you cannot use the Conditions Designer to copy relevance equations entered directly into the field.

Another question I have now is that when I make a question conditional it shows numbers instead of text in the relevance box on the edit screen.

I think you should be able to use either the question code or the question SGQ in relevance equations.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose