- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can we do any calculations on values in question answers?
- shaiful
- Topic Author
- Offline
- New Member
Less
More
8 years 8 months ago #122120
by shaiful
Can we do any calculations on values in question answers? was created by shaiful
Can we do any calculations on values in question answers? Like, if the sum of Question 2 + question 3 > X, then don’t show question 4.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10612
- Thank you received: 3691
8 years 8 months ago #122134
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 Can we do any calculations on values in question answers?
Yes, please see Expression Manager in the manual. In particular, the section(s) on relevance.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
8 years 8 months ago #122144
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Can we do any calculations on values in question answers?
Complementing TPARTNER answer, you may find usefull the following link:
manual.limesurvey.org/Question_type_-_Equation
manual.limesurvey.org/Question_type_-_Equation
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The topic has been locked.
- shaiful
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
8 years 8 months ago #122264
by shaiful
Replied by shaiful on topic Can we do any calculations on values in question answers?
Thank you for quick answer.
The topic has been locked.
- shaiful
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
8 years 8 months ago #122270
by shaiful
Replied by shaiful on topic Can we do any calculations on values in question answers?
Sorry for double post, but Can we just disable/make read-only a conditional question rather than hiding the question from survey?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10612
- Thank you received: 3691
8 years 8 months ago #122280
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 Can we do any calculations on values in question answers?
Assuming the question type is short-text, add this to the question source:
But, TEST your data.
Code:
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('#question{QID} input.text').prop('readonly', true); }); </script>
But, TEST your data.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.