官术网_书友最值得收藏!

  • 101 UX Principles
  • Will Grant
  • 164字
  • 2021-07-16 18:02:39

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 your form conversion rates, by giving users on both desktop and mobile a quick, painless way to enter numbers into forms. Users abandon forms because they're too long, ask for too many details or because it's difficult to enter information into the form.

主站蜘蛛池模板: 芮城县| 潜江市| 合作市| 康保县| 诸城市| 孟津县| 呼玛县| 宁陵县| 台州市| 江都市| 安图县| 娱乐| 友谊县| 府谷县| 陆河县| 大厂| 临颍县| 张北县| 会昌县| 玉林市| 满洲里市| 和田市| 河曲县| 青川县| 民和| 舟曲县| 大石桥市| 镇原县| 城步| 崇礼县| 栾城县| 荣成市| 冷水江市| 临海市| 岳西县| 元朗区| 桃园市| 灵璧县| 夏河县| 留坝县| 修文县|