Twig. survey complete show uses left

More
1 month 4 weeks ago #196432 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:

Please Log in to join the conversation.

LimeSurvey Partners
More
1 month 4 weeks ago #196434 by DenisChenu
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 .
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: Andrewsss

Please Log in to join the conversation.

More
1 month 4 weeks ago #196438 by Andrewsss
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.

Please Log in to join the conversation.

More
1 month 4 weeks ago #196453 by tpartner
Try:
{{ processString('{TOKEN:USESLEFT}') }}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
The following user(s) said Thank You: Andrewsss

Please Log in to join the conversation.

More
1 month 4 weeks ago #196454 by Andrewsss
It's work perfect thanks.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now