Automated Hyperlink

We're wondering if there's a way to have a unique URL that's inserted into a formtext field in a snippet populate as a hyperlink at a different spot in the same snippet.

We basically want the URL to create a clickable hyperlink that appears as the words LINK HERE at the bottom of the snippet, as opposed to the full URL being listed again.

1 Like

Hey Stephen,

If I understand correctly, you want to enter the URL via a form, and then create a link with the URL entered on the form, that way you can re-use it without creating the link multiple times?

If that's correct, you can do it using link command. I made a small snippet for you: Use links with a text form

3 Likes

You can also take this a step further by making the hyperlink text also customizable as well!

{note}Link: {formtext:name=link;default=https://blaze.today}
Text: {formtext:name=ExampleText;default=example}
{endnote}{link: {=link}}{=ExampleText}{endlink}

3 Likes

Thanks so much, this worked perfectly! :smiley:

1 Like