SOLVED

How to add token value (URL) on HTML element.

Go to solution
Highlighted
Anonymous
Not applicable

How to add token value (URL) on HTML element.

Hi Everyone,

I'm trying to insert token value on href attribute of anchor tag (<a href="need token value here">Button Text</a>) but not successful so far, any help regarding this would be appreciated.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Level 10 - Champion Alumni

Re: How to add token value (URL) on HTML element.

Can you send us more of the use case? What token are you using?

Remember, {{my.token}} has to remove HTTP:// in most situations.

View solution in original post

6 REPLIES 6
Highlighted
Level 10 - Community Moderator

Re: How to add token value (URL) on HTML element.

Please move the thread to Products and someone will answer it there. "Community" is for website feedback, not product support -- and yes, this is confusing!

Highlighted
Anonymous
Not applicable

Re: How to add token value (URL) on HTML element.

Thread moved to "Products". Hopefully someone will answer.

Thanks

Highlighted
Level 10 - Champion Alumni

Re: How to add token value (URL) on HTML element.

Can you send us more of the use case? What token are you using?

Remember, {{my.token}} has to remove HTTP:// in most situations.

View solution in original post

Highlighted
Anonymous
Not applicable

Re: How to add token value (URL) on HTML element.

Yes, you are right Josh, after removing "http://" from my URL token string I'm able to print token value on "href" attribute of anchor tag.

Thanks a lot for the hint

Highlighted

Re: How to add token value (URL) on HTML element.

Similar problem:

When I place this calendar token in an <a> tag, the linked text does not populate with the calendar token file link/download.

<a href="{{my.Add A Calendar Reminder}}">Tuesday March 14th at 10:30am!</a>

Any idea why?

Highlighted
Level 10 - Community Moderator

Re: How to add token value (URL) on HTML element.

Calendar tokens are different from plain-text {{my.tokens}} because they include the <a> tag.