sebastian
Posts: 1
Joined: Tue Oct 21, 2014 9:46 pm

Input type = number producing full keypad

Hi Illya,

Thanks for super quick response! It worked perfectly! I really appreciate your help and the screen shot along with it. I would have never figured that out on my own.

:)

Best regards,
Sebastian

sebastian
Posts: 1
Joined: Tue Oct 21, 2014 9:46 pm

Input type = number producing full keypad

Hey I actually have one more question. How would I add a decimal point / period in the keyboard?

e.g. if someone wanted to input the value 1.50 or 5.75

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Input type = number producing full keypad

In this case the only way is to use type="number" and you can also specify the step: step="any" or step="0.01" as you need, and if it's should be only positive numbers: min="0".

sebastian
Posts: 1
Joined: Tue Oct 21, 2014 9:46 pm

Input type = number producing full keypad

I changed the things you said to change but I still couldn't get the decimal point. I tried 0.01 for the step and also kept input mode as numeric.

Image

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Input type = number producing full keypad

Hi Sebastian -

Sorry, I should be more specific. You will need to create new parameters for your input component:

Image

sebastian
Posts: 1
Joined: Tue Oct 21, 2014 9:46 pm

Input type = number producing full keypad

I tried that as well and it didn't work, still no decimal point. When I tried Step: 0.01 it changed the keyboard to the abc one.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Input type = number producing full keypad

On what device you are testing this? Also you are testing as web app or stand alone app?

sebastian
Posts: 1
Joined: Tue Oct 21, 2014 9:46 pm

Input type = number producing full keypad

I've been doing mostly webtesting on my phone but I just tried the latest properties you suggested on the iPhone by exporting it from xcode to my phone and that didn't work. I got the full keyboard with

inputmode:number
step:any
min:0

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Input type = number producing full keypad

Hi Sebastian -

This is what I have in Safari:
Image

with this setup in the builder:
Image

Image

sebastian
Posts: 1
Joined: Tue Oct 21, 2014 9:46 pm

Input type = number producing full keypad

Grubhub has the keyboard I'm trying to make. They have the decimal point while the numeric [1-9]* doesn't have the decimal point Image

Return to “Issues”