ColeenSchmitt1
6 years agoQrew Cadet
Hyperlink in a Rich Text Formula
Hi,
I am trying to create a rich text field that based on certain data either returns a plain text message or a hyperlink that is grabbed from another URL field on the same table. Below is what I have so far, but the Hyperlink though displaying correctly in the output is getting an error message when I click on it. I can confirm that the URL is correct though as it works when I click on it in the URL field.
var text URLWords=ToText([URL Field])
var text URL="<a href="&[URL Field]&">"&$URLWords&"</a>";
If([FileAttached]=true, "File Attached",$URL)
Below is a pic of the error message I am receiving. Any help would be appreciated!
I am trying to create a rich text field that based on certain data either returns a plain text message or a hyperlink that is grabbed from another URL field on the same table. Below is what I have so far, but the Hyperlink though displaying correctly in the output is getting an error message when I click on it. I can confirm that the URL is correct though as it works when I click on it in the URL field.
var text URLWords=ToText([URL Field])
var text URL="<a href="&[URL Field]&">"&$URLWords&"</a>";
If([FileAttached]=true, "File Attached",$URL)
Below is a pic of the error message I am receiving. Any help would be appreciated!