Current location: Hot Scripts Forums » General Web Coding » HTML5 » Website form for iPhone help please


Website form for iPhone help please

Reply
  #1 (permalink)  
Old 08-03-11, 04:43 PM
blackhawkso blackhawkso is offline
Newbie Coder
 
Join Date: Mar 2010
Posts: 39
Thanks: 3
Thanked 0 Times in 0 Posts
Question Website form for iPhone help please

Hey guys.

I am building a mini site for the iPhone. On that site I am having a contact form. What I was wondering is does anyone know of a way to get the iPhone's browser to bring up the standard dial pad or T9 style keyboard when the user gets to the <input type="number" /> section of the form?

So far all I can get out of it is the keyboard to come up with the special characters and numbers section already selected.

Any ideas?

Thanks guys

Blackhawkso
__________________
Don't understand science?

Try religion lol
Reply With Quote
  #2 (permalink)  
Old 08-04-11, 05:23 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
type="tel" does work for me.

In older versions of iOS (or iPhoneOS, back then), you had to include the work "zip" or "phone" in the name attribute of the field. Which was a very stupid solution.

Last edited by Nico; 08-04-11 at 05:26 AM.
Reply With Quote
The Following User Says Thank You to Nico For This Useful Post:
blackhawkso (08-04-11)
  #3 (permalink)  
Old 08-04-11, 08:04 AM
blackhawkso blackhawkso is offline
Newbie Coder
 
Join Date: Mar 2010
Posts: 39
Thanks: 3
Thanked 0 Times in 0 Posts
Worked a treat

Thanks nico

Blackhawkso
__________________
Don't understand science?

Try religion lol
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ajax checking and onsubmit issue follower JavaScript 4 10-12-08 03:45 PM
Do You Need a Website? Establish Your Own Internet Identity jjqbiz Job Offers & Assistance 0 06-25-06 07:13 PM
checkCheckboxGroup broken after form consolidation ski_woman JavaScript 0 01-12-05 11:00 AM
Limit the form submission according to time bionicsamir PHP 7 05-09-04 11:10 PM


All times are GMT -5. The time now is 10:19 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.