Welcome, Guest
Username: Password: Remember me

TOPIC: How can I show the answer label secleted in question A into the question text o

How can I show the answer label secleted in question A into the question text o 1 year 1 week ago #94815

  • trivender
  • trivender's Avatar
  • NOW ONLINE
  • Expert Lime
  • Posts: 126
  • Thank you received: 4
  • Karma: 5
How can I show the answer label secleted in question A into the question text of question B?

QA:LIke first we ask which car you like the most?

BMW
Audi

QB:Why do you like CAR?

//Here CAR should be the answer selected in QA
Trivender Singh
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."
Last Edit: 1 year 1 week ago by trivender. Reason: explanation
The administrator has disabled public write access.

How can I show the answer label secleted in question A into the question text o 1 year 1 week ago #94849

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 5854
  • Thank you received: 716
  • Karma: 222
Why do you like your {QA.shown}
The administrator has disabled public write access.
The following user(s) said Thank You: trivender

How can I show the answer label secleted in question A into the question text o 1 year 1 week ago #94859

  • trivender
  • trivender's Avatar
  • NOW ONLINE
  • Expert Lime
  • Posts: 126
  • Thank you received: 4
  • Karma: 5
Thank you very much DenisChenu:)

You answers is working perfectly if QA is Single choice question but in case QA is a Multiple choice question I am getting the text {QA.shown} in red color.While I mouse over on this red text I see a message "undefined variable".How can I show the answer label of the answer selected in Multiple choice question.
Trivender Singh
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."
Last Edit: 1 year 1 week ago by trivender. Reason: text "case QA1 is" edited to text "case QA is"
The administrator has disabled public write access.

How can I show the answer label secleted in question A into the question text o 1 year 1 week ago #94860

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 5854
  • Thank you received: 716
  • Karma: 222
{QA_SQ001.shown} for the 1st subquestion : show answer.
Can do some test like this:

{if(QA_SQ001.code=="Y",QA_SQ001.question+',','')} to fix the , (need some work more).
The administrator has disabled public write access.
The following user(s) said Thank You: trivender
Moderators: ITEd
Time to create page: 0.103 seconds
Donation Image