0

I have hyperlinked text for phone number and email address on my component. Is there any standard salesforce behaviour for this, and if yes, how do I use it on click of these fields?

1 Answer 1

0

It can be done as :

Email: <a href="{!'mailto:'+record.Owner_Employee__r.Email__c}">        {!record.Owner_Employee__r.Email__c}</a>

Phone:<a href="{!'tel:'+record.Owner_Employee__r.Work_Phone__c}">    {!record.Owner_Employee__r.Work_Phone__c}</a>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .