Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

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

  • akshayrawat21
  • akshayrawat21's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #123847 by akshayrawat21
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.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #123864 by holch
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 answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • akshayrawat21
  • akshayrawat21's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #123885 by akshayrawat21
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
The topic has been locked.
  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 8 months ago #123892 by tammo
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 Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose