Welcome to the LimeSurvey Community Forum

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

filtered overview question

  • djarnold01
  • djarnold01's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 5 months ago #141981 by djarnold01
filtered overview question was created by djarnold01
Hello!
I am using expresion manager placeholders for doing a filtered overview based on answered questions.

example
group 1
if( ! is_empty(q1), join("- ", q1.question, ": ", q1.shown),
group 2
if(q2_SQ001 == "Y", join("- ", q2_SQ001.question, ": ", q2_SQ001), "")
if(q2_SQ002 == "Y", join("- ", q2_SQ002.question, ": ", q2_SQ002), "")
if(q2_SQ003 == "Y", join("- ", q2_SQ003.question, ": ", q2_SQ003), "")
if(q2_SQ004 == "Y", join("- ", q2_SQ004.question, ": ", q2_SQ004), "")
group 3
............


i need to show every group title using placeholders only if question of this group are answered.... is there any way to do this?
the multiple choice with comments do not show the question title only the subquestion so i need to show the question title only if the question is answered is there any way to do this?

Thaks for the help
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 5 months ago #141984 by tpartner
Replied by tpartner on topic filtered overview question
Try hard-coding the question title instead of using a placeholder.

Code:
if(q2_SQ001 == "Y", 'The Q2 question text: ' + q2_SQ001.question, '')

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: djarnold01
The topic has been locked.
  • djarnold01
  • djarnold01's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 5 months ago #142030 by djarnold01
Replied by djarnold01 on topic filtered overview question
Thak you
I will try with this code
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose