1
0
-1

Hi there.
Is there a way to make IOS devices change to the numeric pad when focus goes into a field? For example we have ID numbers for clients that require only numbers to be input. We want to make use of the numeric pad to show when they enter that field to put in an ID.
I know for android devices they already have the numbers showing on top of the keyboard input. What are our options?

Don

Attachment to support question above:

Screenshot_2014-06-25-08-55-33[1].png

Attachment to support comment below:

integer_ios.png

  1. Jye Cusch
    Hi Don,
    By default 'Integer Field' widgets in Composer v4 should be rendered as HTML 'number' inputs, which causes mobile browsers such as Safari on iOS to change to the numeric input keypad. I tested this and a screenshot is below.

    integer_ios.png
  2. Don Sibley
    Thanks Jye.
    looks good.
    Don
  3. Don Sibley
    Just one last thing with the number pad. On my Galaxy s4 i get the a number pad with all numbers(See attached). but you don't with IOS mobiles. Is there a way to get that with IOS mobiles?
CommentAdd your comment...

1 answer

  1.  
    1
    0
    -1
    1. Matthew van Bockel
      It's possible, but I believe that this would require a JQuery tweak (script) to add an additional "step" attribute to the field in HMTL as suggested by this blog post: http://blog.pamelafox.org/2012/05/triggering-numeric-keyboards-with-html5.html
    CommentAdd your comment...