Skip to Content
101 UX Principles – 2nd edition - Second Edition
book

101 UX Principles – 2nd edition - Second Edition

by Will Grant
May 2022
Beginner
454 pages
4h 19m
English
Packt Publishing
Content preview from 101 UX Principles – 2nd edition - Second Edition

#19

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 an emoji. A numeric entry field in HTML is:

<input type="number">

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

Users abandon forms because:

  1. they’re too long,
  2. they ask for too many details, or
  3. because it’s difficult to enter information into the form. ...
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

101 UX Principles

Will Grant
Lean UX, 3rd Edition

Lean UX, 3rd Edition

Jeff Gothelf, Josh Seiden

Publisher Resources

ISBN: 9781803234885