• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1352
  • Last Modified:

suppress click to call on iphone

we have an html base application designed for the iphone that is displaying some information in the format
##/##/## ##.###
the iphone insist on allowing the user to click this and call the number.  Since the data is really a date and a numerical code it is nonsensical to call it as a telephone number.  Is it possible to write the html in such a way as to prevent the iphone from trying to help out and prompting the user to make a call?
0
PhilC
Asked:
PhilC
  • 3
  • 2
1 Solution
 
agriesserCommented:
Already tried to put shy's in there?
shy's are usually not visible and might break the phone number recognition on the iphone, the below is just an example but you get the idea.
##­/##­/##­ ##.­###

Open in new window

0
 
PhilCAuthor Commented:
worked great, just needed to add a single one.
I also found out that adding href="#" works too.
Thanks for your help
0
 
agriesserCommented:
Great to hear that it worked for you :)
What do you mean with "adding href="#""? make a link out of it?
0
 
PhilCAuthor Commented:
yes, if I make it a link the iphone does not treat it as a phone number
0
 
agriesserCommented:
ok, but then it looks like a link and that's probably something you don't want in your application. Of course, you can modify the style of the link to not look like the other links on your site, but as to my experience, the shy method is the best one.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now