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

TOPIC: prefill sub questions from token table

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

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

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 869
  • Karma: 257
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 3 years 1 month ago #66500

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5423
  • Thank you received: 307
  • Karma: 252
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 3 years 1 month ago #66535

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 869
  • Karma: 257
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: 3 years 1 month ago by DenisChenu.
The administrator has disabled public write access.

Re: prefill sub questions from token table 3 years 1 month ago #66552

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5423
  • Thank you received: 307
  • Karma: 252
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.120 seconds
Donation Image