- Posts: 37
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
how i can display an equation answer in another question?
- itsme
- Topic Author
- Offline
- Junior Member
Less
More
10 years 2 months ago #103935
by itsme
how i can display an equation answer in another question? was created by itsme
Hello guys
I've a question that is calculating previous fields with EM and result is ok, i can see the calculation value
i need to use this calculation value somewhere else in the survey, how i can use this equation number in another equation or to use later to caculate again with another question?
I've tried using {QID90.shown} and {QID90} nothing worked, gives undefined variable and can't be used
any idea?
I've a question that is calculating previous fields with EM and result is ok, i can see the calculation value
i need to use this calculation value somewhere else in the survey, how i can use this equation number in another equation or to use later to caculate again with another question?
I've tried using {QID90.shown} and {QID90} nothing worked, gives undefined variable and can't be used
any idea?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10635
- Thank you received: 3699
10 years 2 months ago #103949
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 how i can display an equation answer in another question?
Assuming it is an equation type question, you should just be able to use the code (NOT the ID).
Something like:
Something like:
Code:
{equation1}
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The topic has been locked.
- itsme
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 0
10 years 2 months ago #103958
by itsme
Replied by itsme on topic how i can display an equation answer in another question?
ok that helps, but what i have more than one sum inside this question? like this:
Children: (equation)
and babies: (another equation)
then how to use those 2 numbers?
Hmmm can i put each one alone in a hidden question then calculate in a new equation? will try that
Children: (equation)
and babies: (another equation)
then how to use those 2 numbers?
Hmmm can i put each one alone in a hidden question then calculate in a new equation? will try that
The topic has been locked.