[Solved] Configuring Keyboard | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 13

[Solved] Configuring Keyboard

How do I configure users keyboard For ex. If I want the user to write his phone no. so he needs to enter numeric value only so the keyboard should turn into a keypad rather than a alphanumeric keyboard Pls help Thanks in advance Happy Coding 🙌✌️

20th Sep 2020, 2:25 AM
Tanmay Gupta
Tanmay Gupta - avatar
4 Answers
+ 24
Try : <input type="tel">
20th Sep 2020, 2:30 AM
Prachi The Pari ⭐
Prachi The Pari ⭐ - avatar
+ 10
Thanks all 😊☺️
20th Sep 2020, 3:18 AM
Tanmay Gupta
Tanmay Gupta - avatar
+ 8
Try: <input type="number"> Or even better 🎸Prachi The Pari🎸's solution.
20th Sep 2020, 2:29 AM
Kevin ★
+ 5
Yeah! Just like 🎸Prachi The Pari🎸 wrote, use the tag "input" with attribute "type" with a value which is "tel". Happy Coding </>
20th Sep 2020, 3:01 AM
Raj Srivastava
Raj Srivastava - avatar