Check out the LimeSurvey source code on GitHub!

Inserting Token Fields in Questions

  • JoyLaneResearch
  • JoyLaneResearch's Avatar Topic Author
  • Visitor
  • Visitor
5 years 10 months ago #58399 by JoyLaneResearch
Can anyone here point me to a forum post or page in the documentation that shows how to insert:
(1) the first name from the token list into boilerplate question text,
(2) the value of attribute_1 into a short text question,
(3) the value of attribute_2 into a list (radio) question, and
(4) the values of attribute_3 thru attribute_7 into a multiple options question?

I looked, but couldn't find these. Maybe I used the wrong search term. (I searched "attribute_1").

Thanks so much!

Please Log in to join the conversation.

More
5 years 10 months ago #58401 by DenisChenu
Hello,

First : you need to activate token , to add your attribute, and to make the survey non anonymous.

After , you can use information from token table in the question text.

I think you can use the little lime in editor if correct parameter of survey is set.

:)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
The following user(s) said Thank You: JoyLaneResearch

Please Log in to join the conversation.

More
5 years 10 months ago #58415 by tpartner

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The following user(s) said Thank You: JoyLaneResearch

Please Log in to join the conversation.

More
5 years 10 months ago #58458 by Mazi
Problem solved?


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'"

Please Log in to join the conversation.

  • JoyLaneResearch
  • JoyLaneResearch's Avatar Topic Author
  • Visitor
  • Visitor
5 years 10 months ago #58481 by JoyLaneResearch
Shnoulle,

That answered #1.

Anybody have answers for the others?

Thanks!

Please Log in to join the conversation.

More
5 years 10 months ago #58482 by tpartner
Maybe this post will help.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: JoyLaneResearch

Please Log in to join the conversation.

More
5 years 9 months ago #58486 by DenisChenu

JoyLaneResearch wrote: Shnoulle,

That answered #1.

Anybody have answers for the others?

Thanks!

Ah, understand : you want the 'default' value of the answers filled with attribute :).

Then yes , tpartner give you the good link : use javascript :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

  • JoyLaneResearch
  • JoyLaneResearch's Avatar Topic Author
  • Visitor
  • Visitor
5 years 9 months ago #58579 by JoyLaneResearch
The post was EXACTLY what I needed!

Thank you!

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form