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

TOPIC: prefill sub questions from token table

prefill sub questions from token table 5 years 3 months ago #64480

Perfect!! That's it.
Where do I put the javascript,in the question or the sub question?
And which code?
The administrator has disabled public write access.

prefill sub questions from token table 5 years 3 months ago #64481

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9580
  • Thank you received: 1374
  • Karma: 390
Where you want,

You can import the survey file in your installation, and look at the question source.

And :
docs.limesurvey.org/Workarounds%3A+Manip..._etc._in_LimeSurvey_

:)
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: janwillem64

prefill sub questions from token table 5 years 2 months ago #66500

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
Shnoulle, can you add your solution to the workarounds? It is requested a lot in the forum to prefill questions with token values so documenting this would help a lot.

Thanks!

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.

prefill sub questions from token table 5 years 2 months ago #66535

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9580
  • Thank you received: 1374
  • Karma: 390
Mazi wrote:
Shnoulle, can you add your solution to the workarounds? It is requested a lot in the forum to prefill questions with token values so documenting this would help a lot.

Thanks!
It's basically the same workaround here:
docs.limesurvey.org/Workarounds%3A+Manip...nswer_default_value_
And it need some optimisation:
test if input is empty,
do like Tony, a var QQ ...

But i put it if you want :).
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).
Last Edit: 5 years 2 months ago by DenisChenu.
The administrator has disabled public write access.

prefill sub questions from token table 5 years 2 months ago #66552

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
Great, thanks!

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.
Time to create page: 0.547 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form