Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Display question text when there are subquestions

  • teracomp
  • teracomp's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 years 4 months ago #144402 by teracomp
This is probably something simple, but I couldn't find the answer. I'm trying to build a report that shows the question and subquestion answers without retyping the parent question in the report. The following code is what I want:
Code:
Contribute Service:
{C3BQ11.question} <-- this is NOT valid
{C3BQ11_SQ001.question}:  {C3BQ11_SQ001.shown}
{C3BQ11_SQ002.question}: {C3BQ11_SQ002.shown}
... (total of 13 subquestions)
However, {C3BQ11.question} is shown as an error.

From the question summary:
Question group: Contribute: Me & The World (ID:6)
Code: C3BQ11 : (Mandatory question)
Question: In the past 12 months, how often were you involved in serving people/places?

How can I show the "parent" question text in my report?

Dave Phillips
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago #144426 by tpartner
As far as I know, this is an omission in Expression Manager. There doesn't seem to be a valid variable for the question text for questions containing sub-questions (multiple-choice, array...).

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
7 years 4 months ago #144427 by Ben_V
Same as Tony... no way!
You should use plain text!

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
  • teracomp
  • teracomp's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 years 4 months ago #144432 by teracomp
Seems odd to me since the parent question text is obviously stored in the question table. In building an end report, I'd like to avoid maintaining the text of the question in the question and the report.

Is this a feature request? Or am I the only one who thinks it's a requirement?

It's not an urgent requirement, but seems like the method wouldn't be difficult to add (says the guy who's not maintaining the code :) )

Dave Phillips
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago #144448 by holch
I agree that this should be there. But it is not. As Tony and Ben said.

I think it is a feature request, I ran into this issue before as well. There might be actually already a feature request somewhere, but it is probably no big priority.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose