Welcome to the LimeSurvey Community Forum

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

Relevance Equation For a List (radio)?

More
5 years 2 months ago #178800 by mills
Question 1 is a 'List (radio)' question with 5 answers.

I'd like to show the next question group dependent on this answer. That is, if they choose the first, second or third option they get one group, if they choose the forth or fifth option they get a different group.

What relevance equation should I use on the group? (Can I reference a group of answers, '<= 3'?)

I've been round and round the manual but can't seem to find a similar example.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago - 5 years 2 months ago #178803 by tpartner
Replied by tpartner on topic Relevance Equation For a List (radio)?
Assuming the answer codes for Q1 are numeric, yes, that should work. I would qualify it with a condition that Q1 is answered:

Code:
{!is_empty(Q1) AND Q1 <= 3}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 5 years 2 months ago by tpartner.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago #178807 by DenisChenu
Replied by DenisChenu on topic Relevance Equation For a List (radio)?
To be sure at 100% intval(Q1.NAOK) <=3 :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
5 years 2 months ago #178810 by mills
Replied by mills on topic Relevance Equation For a List (radio)?
Thanks guys, that sorted it.

I hadn't actually realised you could just set the answer 'code' to numeric values (e.g. 1 to 5).
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose