2

I am creating an app using React and antd where users must enter information about cheese. I need an element to ask the user how aged their cheese is. The following options are possible:

  • [0-12] months
  • [1-around 8] years
  • Unknown
  • Fresh

I do not want the user to select 0 months to mean fresh, and mobile support must be possible. I know that a slider will not work because unknown does not appear. It also does not give the user control over time frame (months/years). I'd appreciate any suggestions.

2
  • For cheese that is aged less than a year, is the number of months important?
    – Izquierdo
    Commented Nov 8, 2023 at 18:13
  • I'd say to a certain degree. e,g, 2(ish) months, 6 months, 8 months are all pretty important, other than that I wouldn't say so.
    – The Bison
    Commented Nov 8, 2023 at 20:40

2 Answers 2

1

I would say the best option is having a second field activated if the user selects the 'months' option or the years 'option'

They can then enter a custom value, or you can use a slider, whichever you feel is more appropriate.

If they select 'Unknown' or 'Fresh' that is all the input required

0

I think current problem is that 12 months aged cheese falls under 2 categories: 0-12 months and Fresh. To resolve this problem, you can modify current categories to make sure that users will clearly understand which category to choose depending on their cheese age. OP in the comments has mentioned that months are pretty important for the cheese age and due to that I'd recommend you having the same option menu with modified categories (unless user has to display other data in the same screen and option menu would take too much space, then you should consider using dropdown menu, but take in consideration that dropdown menu's aren't very UX friendly):

  • Less than 2 months
  • 2-6 months
  • 6-8 months
  • 8-12 months
  • More than 1 year
  • Unknown

I put unknown as the last category on the list because I believe that lazier users will choose Unknown without putting any effort into finding out their cheese age. This is my personal opinion and of course would require some kind of user testing to be confirmed.

Your Answer

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

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