I am trying to implement a final report in my survey as exemplified in one of the attached images. The problem is that I am not being able to correctly use the syntax to appear the desired results such as:
"Your Institution of affiliation is a {question 1 code} and your personal Role / Position therein is {question 2 code}.
Can someone help me with the syntax needed for my examples?
Well, without knowing your questions and how they are structured, it is even harder for us to get the syntax correct. We can only guess. Each question type requires a different syntax, because the structure is different.
The screenshot with the questions has little to nothing to do with the screenshot of the report. The report has many different questions and types, as far as I could see, while your screenshot with the questions just shows simple list type questions.
For simple questions like lists with radiobuttons you can simply use the question code, like this: {questioncode}
To get answers for multiple answer questions, matrix questions, etc. which have subquestions, you can get the response for the subquestion with something like this: {questioncode_subquestioncode}.
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.
No, that doesn't help much. Because the screen print doesn't show your question and subquestion codes, etc. But with my hint and a look at the manual pages regarding the expression manager, you should be easily able to create your report.
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.
The following user(s) said Thank You: moisespaivaspi
I was reading the manual and tried to put an example to my final report. However you are not showing me the value intended. The result presents the code of the option and not the text of the option that is what I intend to present.