Welcome to the LimeSurvey Community Forum

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

Show Token Character and hide Survey Title in Welcome Message

  • hengkylintang
  • hengkylintang's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 9 months ago #230042 by hengkylintang
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.28.16+220621
Own server or LimeSurvey hosting: Own Server
Survey theme/template: Fruity
==================
Hi all pls help, 
according to the title i want participant can see the token when they tipe in the box and i want to hide the survey title that appears in welcome message. Thanks in advance 

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 9 months ago #230073 by tpartner
Extend your theme - manual.limesurvey.org/New_Template_System_in_LS3.x/en

1) Edit token.twig and change this:
Code:
<input class='{{ aSurveyInfo.class.maincolformdivainput }} form-control' {{ aSurveyInfo.attr.maincolformdivainput }} >
to this:
Code:
<input class='{{ aSurveyInfo.class.maincolformdivainput }} form-control' type="text" id="token" name="token" value="" required >

2) Edit welcome.twig to remove the survey name.

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: hengkylintang

Please Log in to join the conversation.

  • hengkylintang
  • hengkylintang's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 9 months ago #230105 by hengkylintang
Thank you very much

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose