Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

display used token in pdf export

  • hengkylintang
  • hengkylintang's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 4 weeks ago #213776 by hengkylintang
display used token in pdf export was created by hengkylintang
is it possible to display used token when export submitted answer in pdf?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 4 weeks ago #213798 by tpartner
Replied by tpartner on topic display used token in pdf export
Load the token into a hidden short-text question.

{TOKEN:TOKEN}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • hengkylintang
  • hengkylintang's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 4 weeks ago - 3 years 4 weeks ago #213812 by hengkylintang
Replied by hengkylintang on topic display used token in pdf export
hi tpartner,
can you explain more clearly how to do that. i create survey with only one question and the question type is list radio. thanks in advance
Last edit: 3 years 4 weeks ago by hengkylintang.
The topic has been locked.
  • hengkylintang
  • hengkylintang's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 4 weeks ago #213816 by hengkylintang
Replied by hengkylintang on topic display used token in pdf export
i try to add a question with question type is short text, mandatory on, always hide this question is on and default answer is {TOKEN:TOKEN} but token is not display in pdf format, just display in quexml pdf format.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 4 weeks ago #213820 by Joffm
Replied by Joffm on topic display used token in pdf export
Hi,
in my opinion if you hide the question by "Always hide this question" it will not be displayed.
You should hide it by adding the css class "hidden" .
 

But as this pdf export is really not the very best, you should consider to use "pdfReport"-plugin.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose