S
S
sitev_ru2016-03-06 11:02:03
JavaScript
sitev_ru, 2016-03-06 11:02:03

How to set the numeric keypad to enter numbers?

I'm creating a form for a mobile application in HTML. Several fields are numeric. How to set a numeric keypad for them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Super User, 2016-03-06
@sitev_ru

<input type="number" pattern="[0-9]*" novalidate />

or
or
<input type="tel" />

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question