How to add clickable URL to List Custom Fields

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

How to add clickable URL to List Custom Fields

Postby jayboo876 » Fri Jul 22, 2022 11:19 am

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
jayboo876
 
Posts: 38
Joined: Sat Apr 02, 2022 12:51 pm

Re: How to add clickable URL to List Custom Fields

Postby mflorell » Sat Jul 23, 2022 7:50 am

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.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: How to add clickable URL to List Custom Fields

Postby jayboo876 » Mon Aug 08, 2022 7:26 pm

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>
jayboo876
 
Posts: 38
Joined: Sat Apr 02, 2022 12:51 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 129 guests