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

TOPIC: Populate a question based on previous one

Populate a question based on previous one 2 years 10 months ago #100122

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6134
  • Thank you received: 1363
  • Karma: 535
You initially said these questions are on different pages but the sample survey has them on the same page. Which do you need?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Populate a question based on previous one 2 years 10 months ago #100127

  • nfuria
  • nfuria's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 14
  • Thank you received: 1
  • Karma: 1
The original question is posted by another user.
I tested the solution posted presuming that the hidden question can stay in the same page.
Now I change the format of the survey to "Question by question" and it works.
Also, it works with single or double quotes in var age.

Actually I tested because I had a similar situation but I need that the question stay in the same page.
Are there some solution?
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.212 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form