- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Conditions considering the result of equation type questions
- dianavieiraf
- Topic Author
- Offline
- New Member
Less
More
4 years 2 weeks ago - 4 years 2 weeks ago #196187
by dianavieiraf
Conditions considering the result of equation type questions was created by dianavieiraf
Hey,
I'm trying to define a condition that allows the next question to appear only if the result of a equation type question is above 17.5.
As you can see in the picture, in "define conditions" I added one in which the next question {BNS1} only appears if the equation question type {ANR1c} is > than 17.5 (constant).
However, it is not working.
I would really appreciate if you could help me.
Thanks!
I'm trying to define a condition that allows the next question to appear only if the result of a equation type question is above 17.5.
As you can see in the picture, in "define conditions" I added one in which the next question {BNS1} only appears if the equation question type {ANR1c} is > than 17.5 (constant).
However, it is not working.
I would really appreciate if you could help me.
Thanks!
Attachment not found
Last edit: 4 years 2 weeks ago by dianavieiraf.
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12905
- Thank you received: 3969
4 years 2 weeks ago #196191
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Conditions considering the result of equation type questions
Hi,
your attachment is not visible.
But I am confused about this
And {BNS1} is only to appear if this result is greater than 17.5? (Why the curly brackets?)
Please, do not use the condition builder.
Expression Manager/script is much more flexible.
It should be sufficient to enter into the question relevance equation of BNS1: ANR1c>17.5
But to be sure, attach your lss export again.
Joffm
your attachment is not visible.
But I am confused about this
So ANR1c is a question of type equation where you do some calculations?if the equation question type {ANR1c} is > than 17.5 (constant).
And {BNS1} is only to appear if this result is greater than 17.5? (Why the curly brackets?)
Please, do not use the condition builder.
Expression Manager/script is much more flexible.
It should be sufficient to enter into the question relevance equation of BNS1: ANR1c>17.5
But to be sure, attach your lss export again.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12905
- Thank you received: 3969
4 years 2 weeks ago #196231
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Conditions considering the result of equation type questions
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- dianavieiraf
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
4 years 2 weeks ago #196319
by dianavieiraf
Replied by dianavieiraf on topic Conditions considering the result of equation type questions
Hey,
ANR1c is a equation type question that calculates Body Mass Index. I want participants to be able to respond to the next question only if their Body Mass Index is greater than 17.5.
I entered ANR1c>17.5 in question relevance of BNS1, but it still doesn't work... when running the survey the question BNS1 does not appear...
Thanks!
ANR1c is a equation type question that calculates Body Mass Index. I want participants to be able to respond to the next question only if their Body Mass Index is greater than 17.5.
I entered ANR1c>17.5 in question relevance of BNS1, but it still doesn't work... when running the survey the question BNS1 does not appear...
Thanks!
Attachments:
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13622
- Thank you received: 2489
4 years 2 weeks ago #196329
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 Conditions considering the result of equation type questions
Update of equation didn't launch javascript update in same page.
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.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12905
- Thank you received: 3969
4 years 2 weeks ago #196335
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Conditions considering the result of equation type questions
Please, attach your survey - these questions as lss export.
Joffm
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12905
- Thank you received: 3969
4 years 2 weeks ago #196337
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Conditions considering the result of equation type questions
Here again an example; in my opinion it works.
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- dianavieiraf
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
4 years 2 weeks ago #196599
by dianavieiraf
Replied by dianavieiraf on topic Conditions considering the result of equation type questions
Hey,
it ended up working!
Thanks!!
it ended up working!
Thanks!!
The topic has been locked.