Select to view content in your preferred language

How do I make phone number place a call when clicked?

855
1
02-02-2020 01:58 PM
KenGorton
Esri Contributor

Hi ExB community, 

I have an app with some widgets that display data from a feature layer with fields containing, among other things, phone numbers. 

If a user is viewing the app on a phone, I would like to enable them to click a phone number and place a call. Right now the phone number is just normal text and is not clickable. Is this kind of behavior currently possible or will it be?

Thanks,

Ken

0 Kudos
1 Reply
BenTurrell
Frequent Contributor

Hey Ken Gorton‌,

Could you wrap it in html? Something like the following:

<a href="tel:5551234567">Call (555)123-4567</a>

Thanks,

Ben


If this answer has helpful please mark it as helpful. If this answer solved your question please mark it as the answer to help others who have the same question.