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

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

主站蜘蛛池模板: 泽州县| 富平县| 铜梁县| 新乐市| 金乡县| 克山县| 民县| 南平市| 汤原县| 昭觉县| 河间市| 慈利县| 吉林省| 关岭| 汉川市| 金川县| 呈贡县| 万安县| 穆棱市| 元谋县| 和政县| 开远市| 咸丰县| 庄河市| 明水县| 雷波县| 房山区| 高州市| 仪征市| 青龙| 云和县| 钦州市| 肥城市| 汶川县| 巴塘县| 水富县| 澄迈县| 罗定市| 中江县| 修文县| 望江县|