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 6583799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:27:22+00:00 2026-05-25T16:27:22+00:00

Im struggling to find an answer for this one. I’ve found out how to

  • 0

Im struggling to find an answer for this one. I’ve found out how to make the keypad appear on a web app using the pattern string [0-9]* but that just shows the digits without a decimal!

Anyone got a solution please? 🙂

Thanks!

  • 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-05-25T16:27:23+00:00Added an answer on May 25, 2026 at 4:27 pm

    The numeric keyboard with decimal input was only made available to native apps in iOS 4.1 (specifically the UIKeyboardTypeDecimalPad keyboard type in the UITextInputTraits protocol). Previously, it was necessary to hack around the limitation of the missing decimal point using the UIKeyboardTypeNumberPad as a starting point.

    Unfortunately, this functionality doesn’t yet seem to have percolated through to MobileSafari (or UIWebView) and Apple’s only documentation on the feature is here, which unfortunately only documents what you’ve already discovered.

    One thing that the Apple documentation doesn’t mention is that you can specify <input type="number"> (a new attribute value in HTML5), which will start the user on the number and punctuation keyboard that’s normally accessed by pressing the “.?123” button to the bottom left of the default text keyboard.

    I’d probably take this approach for now and hope that support for UIKeyboardTypeDecimalPad is somehow added in iOS 5.

    (Incidentally, input elements with their type attribute set to number are supposed to support floating point numbers, as per the HTML5 spec. I suspect this is why Apple presents the full keyboard in this case – floating point numbers can legitimately contain minus and plus signs and lower case or upper case ‘E’s, none of which are supported with UIKeyboardTypeDecimalPad)

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

Sidebar

Related Questions

I have been struggling to find an answer to this theoretical question, even tho
OK, struggling to get a definitive answer to this one... I have an application
Have tried searching google but I'm struggling to find an answer to this. I
http://jsfiddle.net/motocomdigital/7fyvn/1/ Hello, this is a question I'm really struggling to find an answer for.
Im struggling to find good material about developing web applications in Ruby without using
I'm still struggling to find an answer to my question. I want to download
I'm struggling to find a decent walkthrough for this issue, and was hoping that
I am struggling to find out the syntactically correct way in which to add
I have been struggling to find a solution to this problem. In my code,
I'm struggling to find how to call the equivalent of (taken from this article

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.