- Posts: 409
- Thank you received: 34
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Piping from Ranking to Constant Sum questions
- blocka
- Topic Author
- Offline
- Platinum Member
Less
More
7 years 7 months ago #139482
by blocka
Piping from Ranking to Constant Sum questions was created by blocka
What I need is a survey that can do the following: Page 1: A ranking question with 10 options Page 2: A constant sum question that draws from the results of page 1 ranking question and displays the options for the constant sum question in ranked order.
Is this possible, and is there a walk through to explain how to do this?
Is this possible, and is there a walk through to explain how to do this?
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12713
- Thank you received: 3924
7 years 7 months ago - 7 years 7 months ago #139499
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Piping from Ranking to Constant Sum questions
Hi, blocka,
let's say ranking question is r1 with answer codes "1", "2", "3",... and Items "Item 1", "Item 2", ...
So in your rating question you enter as answer options
answer option 1: {if(r1_1==1,'Item 1', if(r1_1==2,'Item 2', if(r1_1=,'Item 3', if(r1_1==4,'Item 4',''))))}
answer option 2: {if(r1_2==1,'Item 1', if(r1_2==2,'Item 2', if(r1_2=,'Item 3', if(r1_2==4,'Item 4',''))))}
and so on.
Here are some screenshots of:
And here you have a sample survey (*.lss)
Kind regards
Joffm
let's say ranking question is r1 with answer codes "1", "2", "3",... and Items "Item 1", "Item 2", ...
So in your rating question you enter as answer options
answer option 1: {if(r1_1==1,'Item 1', if(r1_1==2,'Item 2', if(r1_1=,'Item 3', if(r1_1==4,'Item 4',''))))}
answer option 2: {if(r1_2==1,'Item 1', if(r1_2==2,'Item 2', if(r1_2=,'Item 3', if(r1_2==4,'Item 4',''))))}
and so on.
Here are some screenshots of:
- the ranking question
- the rating question
- the expressions in "edit subquestions"
And here you have a sample survey (*.lss)
Kind regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 7 years 7 months ago by Joffm. Reason: Ergänzung
The following user(s) said Thank You: blocka
The topic has been locked.
- blocka
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 409
- Thank you received: 34
7 years 7 months ago #139647
by blocka
Replied by blocka on topic Piping from Ranking to Constant Sum questions
Tha is very much for your help!
The topic has been locked.