Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: tailoring array sub-question

tailoring array sub-question 3 years 4 months ago #97831

  • first
  • first's Avatar
  • Offline
  • Platinum Lime
  • Posts: 329
  • Thank you received: 35
  • Karma: 15
There is an array type question to rate 3 cars. BMW,AUDI and Honda(sub-questions). The answers (rating options) are Good,Satisfactory and Poor. I have to show the car name that is rated good in the question text of next question.Is there any method to access the sub-question label.:)
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
The administrator has disabled public write access.

tailoring array sub-question 3 years 4 months ago #97842

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9568
  • Thank you received: 1374
  • Karma: 390
Hello:

Qcode.question

The for question with sub-question:
{QCODE_SQcode.question}

Somethink like this maybe:
{if(QCODE_SQ001=="GOOD",join("You like ",QCODE_SQ001.question),"")}
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.
The following user(s) said Thank You: first
Time to create page: 0.219 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form