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

  • SEARCH
  • Home
  • 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 6347705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:16:17+00:00 2026-05-24T21:16:17+00:00

I have a web-app with a layout that is set up to work with

  • 0

I have a web-app with a layout that is set up to work with mobile devices. However, most of my input fields in forms are numeric.

Every time I access a form with my Android phone and click into one of the input fields to make an input field, the qwerty comes up and I have to switch to numeric input method and enter some numbers. That’s inconvenient.

Is there a HTML-property or sth. similar that will make Android (and iPhone) display the numeric keypad as a default?

Again, this is a Rails app and not a native smartphone app.

Any help appreciated, 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-24T21:16:19+00:00Added an answer on May 24, 2026 at 9:16 pm

    In HTML 5, type='number' says that a field expects only numbers and modern browsers would allow only numberic inputs.

    <input type='number' value='123' />
    

    EDIT:

    Let me amend a bit, since judging from the comments the original answer is a bit shallow for most.

    Basically, you have three choices: type='number', type='range', and type='tel'. None of them are guarenteed to work. The result varies by both browser and keyboard.

    For example, my Android Opera Mobile doesn’t ask for a numeric keyboard, but it does add a spinbox to the number field like the desktop version. A spinbox that works with step='0.1', but not really suitable for mobile use with current implementation.

    On my Android Firefox 5, number doesn’t yield numeric keyboard with my stock input either – this is where I start to doubt whether my stock keyboard support numeric – but tel does! And with dot! As well as ABC DEF GHI for 1 2 3 which gives it out.
    However type='tel' is not HTML5 standard (yet), and you don’t get validation from browser. (Update 2013-08: tel has been made a HTML5 standard! I’m not sure when…)

    As for range, the specs expects that browser provide slider instead of input box. Some do, some don’t, and iPhone Safari is in the later camp last I checked. If you don’t mind the varying presentation it can be a better choice.

    Yeah, I know. Welcome to HTML 5 development. Things are improving; I hope you won’t be put off by the storm we are in right now.

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

Sidebar

Related Questions

I have an Android app that pulls in images from the Web. However when
I have a web forms app with a CSS file for layout. One of
I have a web app for commercial property management that needs spreadsheet-like functionality for
I have a web app that is heavily loaded in javascript and css. First
I have a web app that only registered users can use, therefore I should
I have a web app in production that is used for typical data entry,retrieval,
We have an web app that is talking to Netsuite via Netsuite's web services.
I have a web app were the entire layout remains constant except for one
I have a Rails project that is basically a simple web app for a
I'm changing the layout of a web app that we are developing internally and

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.