Breaking News
 |  | 

User Experience

Should we use a number input or a select?

img-responsive

If you have to ask the user for his height, which form element would you use? Using steps of 10 cm, there are over 10 different heights so the options are reduced to use either an input or a select.

Let’s check their pros (+) and their cons (–) of this scenario.

Input

  • + If the user knows how the input works, he fills it faster
  • – Are we asking for the height in cm or m? Users don’t read the label
  • – We need to check if it’s a valid number
  • – We need to check if it is in the range we allow
  • – Do we allow decimals? If not, we have to block the ‘.’ and ‘,’
  • – If we allow decimals, we have to manage both ‘.’ and ‘,’

Select

  • + We don’t deal with any validations
  • + As we don’t have to show error validations, the component occupies less space
  • – It’s a bit slower to fill if you know what to input

Our recommendation for this scenario is to use a select. We have learned over many hours of recordings that users fill that info faster and without so many back and forth with validations.

We are hiring Senior Product Designers and Product Managers. OnTruck is leading the disruption of the logistics sector in Europe and we have been invested by top investment funds in Europe like Atomico (UK), Idinvest (France), PointNine (Germany) and Samaipata (Spain). If you want to really contribute to a better world and challenge yourself everyday, let’s talk!


Should we use a number input or a select? was originally published in OnTruck Product on Medium, where people are continuing the conversation by highlighting and responding to this story.

Powered by WPeMatico

should-we-use-a-number-input-or-a-select

ABOUT THE AUTHOR