Skip to Content
101 UX Principles
book

101 UX Principles

by Will Grant
August 2018
Beginner
414 pages
3h 16m
English
Packt Publishing
Content preview from 101 UX Principles

Chapter #13. Use Numeric Entry Fields for Precise Integers

If you're trying to get an integer (a whole number) from a user—for example the number of widgets they want to order or the number of days an event runs for—it makes no sense to offer them a free text input field where they can enter "a few" or "Use Numeric Entry Fields for Precise Integers"A numeric entry field in HTML is:

<input type="number">

This will display slightly differently on different devicesand that's the whole point. By adapting to the control system of the client's device, the user gets simpler entry and makes fewer mistakes. You also get fewer emoji in your database.

Of course, a huge benefit here is that this will improve ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

101 UX Principles – 2nd edition - Second Edition

101 UX Principles – 2nd edition - Second Edition

Will Grant
Lean UX, 3rd Edition

Lean UX, 3rd Edition

Jeff Gothelf, Josh Seiden

Publisher Resources

ISBN: 9781788837361Other