Skip to main content
Participant
January 10, 2023
Question

Phonenumbers in Publish online not working

  • January 10, 2023
  • 4 replies
  • 772 views

Hi all! I' using Indesign 18.1 and I tried to export an interactive folder via publish online. I wanted the phonenumbers in this doument clickable. So I marked the numbers and set a hyperlink as an URL and in the URL box I typed "tel:" and the phonenumber without + or blanks. But when I exported the file via publish online I clould't click on the number. The browser  (safari) responded, that he cant open the URL. Is this some kind of bug? I couldn't find a solution to this problem. Maybe somone encountered the same problem or has got a solution?

Thanks everyone!

This topic has been closed for replies.

4 replies

James Gifford—NitroPress
Legend
January 12, 2023

Just to follow up on my first comment, this notation appears in W3docs, a fairly authoritative reference, for 'tel:' —

 

  • There isn’t any documentation (official) on this protocol handler for links. That’s why there can be differences in browser support and behavior. Commonly, browsers make different decisions on determining what to do with the clicked link.

 

So I'd start by creating a workable link in a simple web page, see how it behaves in different browsers and on different devices, and then compare the behavior of such a link from ID/in PO.

 

Community Expert
January 10, 2023

For a clickable phone number, you can insert html into your Indesign document with the following html code:

<a href="tel:+1234567890">Call me at +123-456-7890</a>

 

James Gifford—NitroPress
Legend
January 10, 2023

I think this is the key. Not every browser or device simply knows what to do with a 'tel:' link; fully defining it as a URL string may work more reliably.

 

But then, none of my devices including a phone-enabled desktop and a Samsung phone responded correctly to either version, so...

 

Frans v.d. Geest
Community Expert
Community Expert
January 10, 2023

What do you expect to happen when it is clicked in a browser...?

EgoSum124Author
Participant
January 10, 2023

Well I expected that the device would ask if I want to dial the number, at least on the ipad.

Frans v.d. Geest
Community Expert
Community Expert
January 10, 2023
quote

Well I expected that the device would ask if I want to dial the number, at least on the ipad.


By @EgoSum124


And thát is a function of the OS of the device your on, not all devices and certainly not all browser will do that!

BobLevine
Community Expert
Community Expert
January 10, 2023

What device did you check this on?

EgoSum124Author
Participant
January 10, 2023

I checked it on my mac in safari and firefox. Also on my ipad on safari. Everywhere the same issue.