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
  • dianavieiraf's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 weeks ago - 4 years 2 weeks ago #196187 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!

Attachment not found

Last edit: 4 years 2 weeks ago by dianavieiraf.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196191 by Joffm
Hi,

your attachment is not visible.

But I am confused about this

if the equation question type {ANR1c} is > than 17.5 (constant).

So ANR1c is a question of type equation where you do some calculations?

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
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196231 by Joffm
Here a small example.

File Attachment:

File Name: limesurvey...7351.lss
File Size:19 KB


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • dianavieiraf
  • dianavieiraf's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 weeks ago #196319 by dianavieiraf
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!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196329 by DenisChenu
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
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196335 by Joffm
Please, attach your survey - these questions as lss export.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196337 by Joffm
Here again an example; in my opinion it works.


File Attachment:

File Name: limesurvey...4-03.lss
File Size:18 KB





Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • dianavieiraf
  • dianavieiraf's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 1 week ago #196599 by dianavieiraf
Hey,
it ended up working!
Thanks!!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose