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

  • 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.

主站蜘蛛池模板: 安阳县| 江华| 磐安县| 茶陵县| 达拉特旗| 荣昌县| 广平县| 崇义县| 蓬安县| 曲周县| 凤阳县| 莱州市| 祁连县| 定兴县| 云霄县| 双牌县| 天全县| 康定县| 海城市| 梁河县| 读书| 化隆| 宣化县| 嘉义县| 江陵县| 弋阳县| 常熟市| 容城县| 谢通门县| 望都县| 繁峙县| 深水埗区| 钟祥市| 六枝特区| 隆安县| 辽源市| 天水市| 双辽市| 九龙城区| 宜黄县| 惠东县|