Welcome to the LimeSurvey Community Forum

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

Twig. survey complete show uses left

  • Andrewsss
  • Andrewsss's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 11 months ago #196432 by Andrewsss
Twig. survey complete show uses left was created by Andrewsss
Hi, I try customize views/subviews/content/submit.twig and when survey is completed I want to show uses left but I can't find how to do that.
I need to show: You have the remaining number of the survey:
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #196434 by DenisChenu
Replied by DenisChenu on topic Twig. survey complete show uses left
Why not in End text message ?

Try {TOKEN:USESLEFT} (in end message)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: Andrewsss
The topic has been locked.
  • Andrewsss
  • Andrewsss's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 11 months ago #196438 by Andrewsss
Replied by Andrewsss on topic Twig. survey complete show uses left
In End text message {TOKEN:USESLEFT} works, but this message I need in all surveys end, but some times survey administrator forget to add, so I want add in theme.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #196453 by tpartner
Replied by tpartner on topic Twig. survey complete show uses left
Try:
Code:
{{ processString('{TOKEN:USESLEFT}') }}

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: f_funke, Andrewsss
The topic has been locked.
  • Andrewsss
  • Andrewsss's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 11 months ago #196454 by Andrewsss
Replied by Andrewsss on topic Twig. survey complete show uses left
It's work perfect thanks.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose