언어 설정

Menu
Sites
Language
device keyboard not appear with dot (.) key

Hi,

 I have developed currency converter application.When user tab on the input box then keybord appear ,but keybord not have dot symbol.

 

 

 

                                                                   

 

keyboard apper but dot (.) symbol is not there.I want dot symbol should to be aapear with keboard.

please help me

thanks and regards

Mohit Kumar

답변 바로가기

Responses

7 댓글
Seoghyun Kang

Hello,

 

I think you are using the <input type="number">. Is it right?

If you want to use the ".", please change it to the "text" from "number". ex) <input type="text">

 

Or you can create the "." button directly. If user clicks the button, you just need to insert the "." at the input field.

 

Thanks.

Palitsyna

Hello,

you can use <input type="text"> or <input type="tel"> (I think that the last case is not a good idea, but it contains "." symbol). You can find more information here: http://www.w3schools.com/html/html_form_input_types.asp

Anyway, you can create your own keyboard with necessary symbols and numbers.

Mark as answer
AVSukhov

Hello,

Try to use step attribute for input tag:

<input type="number" step="0.01" />

 

AVSukhov

and you can see dot "." on "-" button

Seoghyun Kang

Wow. That's good tip :)

mohit kumar

Hi AVSukhov,

                     Thank you so much.You are god.

 

 

Thanks and regards

Mohit Kumar

Vikram

type="number" is mean the input value only integer. And add the "step=0.01" allow input two decimal places. So dot (.) will appear in keyboard. step attribute is the new in HTML5.