?
Solved

suppress click to call on iphone

Posted on 2008-10-07
5
Medium Priority
?
1,317 Views
Last Modified: 2013-12-25
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
Comment
Question by:PhilC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
agriesser earned 2000 total points
ID: 22659196
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
 

Author Comment

by:PhilC
ID: 22659454
worked great, just needed to add a single one.
I also found out that adding href="#" works too.
Thanks for your help
0
 
LVL 14

Expert Comment

by:agriesser
ID: 22659569
Great to hear that it worked for you :)
What do you mean with "adding href="#""? make a link out of it?
0
 

Author Comment

by:PhilC
ID: 22659858
yes, if I make it a link the iphone does not treat it as a phone number
0
 
LVL 14

Expert Comment

by:agriesser
ID: 22659906
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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question