Page 1 of 1

How to add clickable URL to List Custom Fields

PostPosted: Fri Jul 22, 2022 11:19 am
by jayboo876
So, I've added a few custom fields to a list. One of the field is the url to a website. Currently, I set the field type to TEXT, uploaded the leads with column containing urls. When agent receives call, the Form displays the url as expected, however, agent has to manually copy url and place in separate tab to open external website. I came here to ask if there is a better way to make this a clickable link in the Form instead, removing the manual copy/paste process. Appreciate any ideas.


installation: generic vicibox9 iso in cluster mode

Thanks

Re: How to add clickable URL to List Custom Fields

PostPosted: Sat Jul 23, 2022 7:50 am
by mflorell
Create a new Custom Field, of the type "SCRIPT", then put something like this in the Field Options:
Code: Select all
<a href=http://www.google.com?q=--A--answer--B-->click here</a>


* Where "answer" is the field label of your URL field.

You also may want to make your URL field HIDDEN so it won't show up raw in your FORM tab.

Re: How to add clickable URL to List Custom Fields

PostPosted: Mon Aug 08, 2022 7:26 pm
by jayboo876
mflorell wrote:Create a new Custom Field, of the type "SCRIPT", then put something like this in the Field Options:
Code: Select all
<a href=http://www.google.com?q=--A--answer--B-->click here</a>


* Where "answer" is the field label of your URL field.

You also may want to make your URL field HIDDEN so it won't show up raw in your FORM tab.



Thanks a lot. I tweaked you example a bit for my needs and it's working perfect.

<a href=--A--fieldname--B-- target=_blank>Click Link</a>