Check out the LimeSurvey source code on GitHub!

Highest and lowest value in expression manager

More
4 years 11 months ago #77087 by granen
Hello,

I am trying to use the Expression Manager for the first time (Great job from the developer).

This is what I would like to do.

The repondents first answers 10 questions if he/she is willing to pay the sum or not. See image



On the next page I would ask a question like this

The smallest sum you are willing to pay is {smallest value} and the highest you are not willing to pay is {Largest value}. What is the highest sum you are willing to pay? It can be anything between {smallest value} and {Highest value}

Is this possible to do?

//Erik
Attachments:

Please Log in to join the conversation.

More
4 years 10 months ago #77754 by TMSWhite
say your questions are q1-q10, the easiest way is to set the desired values for Yes, No and Don't Know. So, for your first question, the coded value for Yes is 8000; for q2, the coded value for Yes is 1000, etc.

Then, to get the min, you use:
The smallest you are willing to pay is {min(q1,q2,q3,q4,q5,q6,q7,q8,q9,q10)}

and to get the max, you use:
The largest you are willing to pay is {max(q1,q2,q3,q4,q5,q6,q7,q8,q9,q10)}

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form