Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9165905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:01:14+00:00 2026-06-17T15:01:14+00:00

According to Apple’s documentation when I setup an input element with a type of

  • 0

According to Apple’s documentation when I setup an input element with a type of number I should get a number keypad.

<input type="number"/>

number:
A text field for specifying a number. Brings up a number pad keyboard in iOS 3.1 and later.

Looks damn near impossible to mess up. However, when I view this simple fiddle on my iPhone or the simulator (both iOS6) the number keypad does not appear, and I get the standard alphabetic keyboard instead.

http://jsfiddle.net/Cy4aC/3/

What on earth could I possibly have messed up here?

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:01:15+00:00Added an answer on June 17, 2026 at 3:01 pm

    You need to specify the pattern:

    <input type="number" pattern="\d*"/>
    

    As a number can be negative or with floating point, so the - and . and , should be available in the keyboard, unless you specify a digits only pattern.

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

According to Apple's documentation here , this should work in my code: @interface Menu
According to Apple's ARC Documentation , there are a fairly significant number of changes
According to Apple documentation on debugging Core Data it says we should be able
According to Apple documentation and other documentation I have read about on disk encryption
According to Apple's description, the aurioTouch sample app is suppose to get the audio
I need to apply/remove to an input field according to a user's selection in
According to Apple... https://developer.apple.com/library/content/samplecode/URLCache/Listings/Classes_URLCacheConnection_m.html ...we should do: if ([response isKindOfClass:[NSHTTPURLResponse self]]) Is it the
According to Apple's documentation , in order to make phone call from my app,
According to Apple , two to three letter prefixes should be used when naming
What's the role of registerClass:forCellWithReuseIdentifier: method? According to Apple's developer documentation it's supposed to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.