Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: prefill sub questions from token table

Re: prefill sub questions from token table 2 years 11 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.

Re: prefill sub questions from token table 2 years 11 months ago #64481

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6205
  • Thank you received: 787
  • Karma: 238
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_

:)
The administrator has disabled public write access.
The following user(s) said Thank You: janwillem64

Re: prefill sub questions from token table 2 years 9 months ago #66500

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
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)limesurvey.org'"
The administrator has disabled public write access.

Re: prefill sub questions from token table 2 years 9 months ago #66535

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6205
  • Thank you received: 787
  • Karma: 238
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 :).
Last Edit: 2 years 9 months ago by DenisChenu.
The administrator has disabled public write access.

Re: prefill sub questions from token table 2 years 9 months ago #66552

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
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)limesurvey.org'"
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.136 seconds
Donation Image