Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, Hope you can help me! I am trying to write out a UK phone number in a view using the tel: protocol e.g.
<a href="tel:+448006000000">
(Note - number is made up, but it is a UK 0800 number)
In the Chrome browser, this shows in HTML source as:
<a href="tel:800 0680 060">
... so it is dropping the leading zero. It does the same for the number 08006000000.
I have hardcoded it, tried to write just the number and also the whole anchor tag using Html.Raw with the same result.
Any thoughts what is causing this and how to prevent this behaviour?
Many thanks for your help, Luciox
Hi Luciox,
Where are you using this phone?
Is it Rich Text Editor?
Thanks,
Alex
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Issue with tel protocol and UK phone number
Hi, Hope you can help me! I am trying to write out a UK phone number in a view using the tel: protocol e.g.
(Note - number is made up, but it is a UK 0800 number)
In the Chrome browser, this shows in HTML source as:
... so it is dropping the leading zero. It does the same for the number 08006000000.
I have hardcoded it, tried to write just the number and also the whole anchor tag using Html.Raw with the same result.
Any thoughts what is causing this and how to prevent this behaviour?
Many thanks for your help, Luciox
Hi Luciox,
Where are you using this phone?
Is it Rich Text Editor?
Thanks,
Alex
is working on a reply...