Use Survey responses to compute a third value and Display the same

More
3 years 2 months ago #123847 by akshayrawat21
akshayrawat21 created the topic: Use Survey responses to compute a third value and Display the same
Hey I am new to Limesurvey.
I wanted to know if the responses from the survey can be used to compute a third value and display it immediately.
Eg: My q1 is : Amount ? Response is 100
My q2 is : Withdrawal? Response is 60
The third field q3 should display 40.

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #123864 by holch
holch replied the topic: Use Survey responses to compute a third value and Display the same
Have a look at the Expression Manager. This can be easily done. However, this is not a topic for the development section (which is for the development of Limesurvey itself), thus I will move your topic to "can I doe this with LS"...

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #123885 by akshayrawat21
akshayrawat21 replied the topic: Use Survey responses to compute a third value and Display the same
Could you explain the entire process to get a third field which computes 100 from q1 and 60 from q2 to output q3 as 40.
Mostly, just how to edit the q3 so that it just displays the computed amount

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #123892 by tammo
tammo replied the topic: Use Survey responses to compute a third value and Display the same
Hi, see attached file for an example how this could work,

Import as a new survey and look what happens,

greetings from Haarlem, The Netherlands,

Tammo ter Hark


Tammo ter Hark at Tools for Research
Proud developers of the TFR Responsive Limesurvey template
toolsforresearch.com/limesurvey-responsive-template
Attachments:

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!