- Posts: 16
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Relevance Equation For a List (radio)?
- mills
- Topic Author
- Offline
- New Member
Less
More
5 years 3 months ago #178800
by mills
Relevance Equation For a List (radio)? was created 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.
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
5 years 3 months ago - 5 years 3 months ago #178803
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
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 3 months ago by tpartner.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
5 years 3 months ago #178807
by DenisChenu
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.
Replied by DenisChenu on topic Relevance Equation For a List (radio)?
To be sure at 100% intval(Q1.NAOK) <
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.
- mills
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 1
5 years 3 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).
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.