Body: <p>I have a custom field for a link for events and want to show it on the Events - Registration Confirmation and Receipt (on-line) message.
  I was able to modify some other texts I needed in this template but I'm unsuccessful in adding and using my custom field.
  I know it is active because I also have a schedule reminder using this custom field. It's a link and I've checked that it's declared as a link and of course active</p>
  <p><a href="https://i.sstatic.net/lZfl1.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/lZfl1.png" alt="enter image description here" /></a></p>
  <p>Here is what I added to the source code:</p>
  <pre><code>Lien visio : {capture assign=visio}{event.custom_146}{/capture}&lt;a href=&quot;{$visio}&quot;&gt;Link&lt;/a&gt;
  </code></pre>
  <p>In my inbox the e-mail doesn't show the link but even the text 'Link' doesn't show up!</p>
  <p>Have I missed something obvious?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-27T21:06:40.143Z
Comments.Text: Does the link itself contain some html chars that maybe breaks the tag? Does it work if you use `{$visio|escape}`?
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-28T09:32:56.320Z
Comments.Text: good question.usually it's a link to a microsoft teams room. For my test I used a basic URL. I'll test with the escape parameter
Comments.UserDisplayName: Guillaume Sorel
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-28T12:11:15.427Z
Comments.Text: after a deep cache cleaning, it worked without adding the escape parameter. Thanks anyway @Demerit
Comments.UserDisplayName: Guillaume Sorel
Tags: <civievent>
Title: Customize event registration e-mail
ThreadText: # Customize event registration e-mail
  
  (Asked by: username_0 on 2023-09-27)
  
  I have a custom field for a link for events and want to show it on the Events - Registration Confirmation and Receipt (on-line) message.
  I was able to modify some other texts I needed in this template but I'm unsuccessful in adding and using my custom field.
  I know it is active because I also have a schedule reminder using this custom field. It's a link and I've checked that it's declared as a link and of course active
  
  [![enter image description here](https://i.sstatic.net/lZfl1.png)](https://i.sstatic.net/lZfl1.png)
  
  Here is what I added to the source code:
  
  ```
  Lien visio : {capture assign=visio}{event.custom_146}{/capture}<a href="{$visio}">Link</a>
  
  ```
  
  In my inbox the e-mail doesn't show the link but even the text 'Link' doesn't show up!
  
  Have I missed something obvious?
  
  **Tags:** civievent
  
  > **Comments:**
  > **username_1**: Does the link itself contain some html chars that maybe breaks the tag? Does it work if you use `{$visio|escape}`?  
  > **username_0**: good question.usually it's a link to a microsoft teams room. For my test I used a basic URL. I'll test with the escape parameter  
  > **username_0**: after a deep cache cleaning, it worked without adding the escape parameter. Thanks anyway @username_1  
  
  ---
  
  ## 0 answers
  
  