Welcome to the LimeSurvey Community Forum

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

The Email template button issue.

  • free521521521
  • free521521521's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 week 3 days ago #261475 by free521521521
The Email template button issue. was created by free521521521
I want to add a button in Email template, so I use:
Code:
<a href="{SURVEYURL}" style="background-color: #4CAF50; color: white; padding: 10px 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; border-radius: 12px;">Start Survey</a>

But when I check the test Email it show this:
" www.sample.com/survey/index.php?r=survey...token=xxxxxx=zh-Hans " style="background-color: #4CAF50; color: white; padding: 12px 18px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; border-radius: 12px;">Start Survey"

Seems the SURVEYURL broke the HTML button, how to solve this problem?

​​​​​​​Thanks!

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 2 days ago #261494 by tpartner
Replied by tpartner on topic The Email template button issue.
Use @@SURVEYURL@@ for the plain link.

- manual.limesurvey.org/Email_templates#Email_Placeholders

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose