Home > other >  Click to make a call in dompdf
Click to make a call in dompdf

Time:08-19

I saw a suggestion to use following to make a call

<a href="tel:555-555-5555">555-555-5555</a>

But when I use the same in dompdf. It doesn't have a feature allowing me to click to call Option.

Can anyone share a snippet or line of code to make phone number with "click to call" feature in it.

Many thanks in advance !

CodePudding user response:

I got a solution checking some other forum. And following is the code I used to to solve my issue.

<a href='tel:.5555555555'>555 555 5555</a>

Adding a dot before helped in pdf.

CodePudding user response:

Your code must be like:

<a href='tel:5555555555'>555 555 5555</a>
  • Related