I am very new to lime survey, from reading the manual I understand that I can use answers from previous questions in subsequent questions but can not work out how to do it. What I have is a question that asks 6 people what their first and last names are. later on I want to ask how they are related to one another so I would like my question phrased like this.
Q. How is (person 2 first name) (person 2 second name) related to (Person 1 first name) (person 1 second name)
How is (person 3 first name) (person 3 second name) related to (Person 1 first name) (person 1 second name)
How is (person 3 first name) (person 3 second name) related to (Person 2 first name) (person 2 second name)
Etc etc for all of the six persons
I will use a drop down for the choices
Can someone explain very simply how I insert the names into the question please
This is quite easy to do, but what I don't understand is, where and how you use the dropdown. For the choices of the relation? Then it doesn't matter to the solution.
What matters is how you ask the respondent about the first and last name of these 6 people, because the question type is important to know, when you want to access previous responses.
You can do this via the expression manager, usually via curly brakets and the respective response code. Let's assume that the first name of person 1 is stored under the question code Q1first, then you should be able to access the persons name via {Q1first}.
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
I made a quick example question. I think it should help you to get the rest running.
I used an array(text) question to ask for the first and the last name of 3 people.
Then in the next question (a normal array question with the dropdown mode switched on in the advanced settings).
Within the subquestion text I referenced the responses given in the first question. The structure of the code is like this:
{questioncode_subquestioncode_answeroptioncode}.
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.