0

I have a range slider field (to select age range) which is an optional field. I'm trying to make the UX as smooth as possible but there are a few things that I'm super confused about.

  1. As this is an optional field, what should the default state of the slider look like? They currently rest at 0, but this confuses a lot of users and makes them think that the range slider is active at with 0 values when in reality it's not.

  2. If a user accidentally selects a range for the slider but later wants to remove the slider values, what state should it fall back to? Should there be a reset button next to the slider?

1 Answer 1

2

You don't need a range slider. Don't make them fiddle with controls, when a single input will do the job.

Sliders can be problematic UI elements, as Nielsen Norman group has studied:

Selecting a precise value using a slider is a difficult task requiring good motor skills, even if the slider is well designed. If picking an exact value is important to the goal of the interface, choose an alternate UI element.

The wider or the denser the range selectable through a slider, the harder it is to select a precise value.

If a single value is good enough, just put an input field with an indicator that it's optional, and they can just delete the value if they change their mind.

enter image description here

Update: If you must work with canned ranges because of product requirements for data collection

If you're using discreet age brackets (i'm assuming for marketing and product data), then a range slider makes things even harder for the user, because they have to decide 'what range am I in?' and fiddle with the controls themselves.

Try radio buttons or a dropdown instead:

enter image description here

2
  • As it is a range input (users can select age range- 18 to 30, 45 to 90, etc), I stuck with sliders as I thought that they would help the user visualise the range selected better than input boxes. I have other range fields in the form as well. Are input fields for range just as intuitive as range sliders? Nov 13, 2018 at 13:12
  • @AshwinNepal in this case it's more intuitive, in my experience. People don't need to be very exact here, 18-30 will suffice, they won't want to select 21-23. So it's best to simplify and not give users more options than they actually need.
    – Summer
    Nov 13, 2018 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.