Welcome to the LimeSurvey Community Forum

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

Print question text in answer of a hidden question

  • duvemyster
  • duvemyster's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 10 months ago #228089 by duvemyster
Your LimeSurvey version: Version 5.3.12+220502
Own server or LimeSurvey hosting: own server 
Survey theme/template: bootswatch
==================
On a Long free text question, is there a way to print the results of the questions itself in the answer?

1. The question is hidden with 
Code:
$('#question{QID}').hide();
2. And the question text is dynamically generated with javascript, and generates the results that need to go in the answer.

Please Log in to join the conversation.

  • duvemyster
  • duvemyster's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 10 months ago #228098 by duvemyster
I figured out another solution for what I was working on.  However, I am still curious to know if question text can be pulled into other parts of a survey similar to the way that other answers can be utilized. In email notification, this can be done with
Code:
{QuestionCode}.question
. Is there a way to do this inside a different question in the survey itself?

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #228099 by holch
I am not sure what you are trying to do.

First of all it should be {QuestionCode.question}, not {QuestionCode}.question.

On a Long free text question, is there a way to print the results of the questions itself in the answer?


You are talking about the response given to this question?
Code:
{QuestionCode}

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

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose