Custom Field in Link
I'm having an issue with custom fields & putting them as the href an <a> tag.
Â
I can render the value normally in a plain body html template, however, when adding it to a link, it doesn't work.
The link populates to a #. Anyone else having this issue?
Â
This template works to display the custom field:
Â
Â
<html>
<body>
<h1>[[custom.surveylink]]</h1>
</body>
</html>
Â
Â
Â
Â
However, this does not work:
Â
Â
<html>
<body>
<h1>Your Link is [[custom.surveylink]]</h1>
<a href="[[custom.surveylink]]">Click Here!</a>
</body>
</html>
Â
Â
Â
Â
Â
Email Screenshot from 1st example (working, h1 tag, no link)
Â
Email Screenshot from 2nd example (not working, with link, clicking link does nothing)
Â
You can see that the value is there when being displayed in an h1 tag, but switches to a # when being used in a link. Could someone help me out with this?
1 reply