Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Checkbox vs Two Radio Buttons - Which one is more usable? [closed]

I'm currently working on some setting screens, most of which contain a 2 column form with a preference question on the left, and a form element on the right.

The questions are things like:

Can add/edit other users?

Can delete clients?

Obviously this setting is a binary setting and most UI "experts" would insist that a checkbox is the appropriate form element to use.

However, when I mocked up the form with the checkboxes it looked unfriendly and it seemed hard to relate the state of the checkbox back to the question.

I changed the form to use two radio buttons instead:

  • Yes o No

Personally I find this easier to process, as the options are actually answers to the question posed on the left.

In terms of clicking it makes no difference to the user, it's a single click each time to change the setting.

What do you think of this use of radio buttons? Is this better or worse than a checkbox and why?

like image 812
James Avatar asked Apr 23 '09 09:04

James


3 Answers

For something like "Can do X" I would use a checkbox rather than a radio set as Can Do/Can't Do relates well to the On-Off nature of a checkbox. Most users understand a tick maps to Yes and no tick maps to No.

However, a radio set can make sense for some binary options where the options aren't clear or how they might relate to on/off isn't obvious. For example, you could have "Binary File?" follow by a checkbox, but I think in this case it would be clearer to have "File Format" followed by "Binary" and "Text" options.

like image 141
Dave Webb Avatar answered Sep 29 '22 23:09

Dave Webb


We had an experience with customer base of older age group, they understand "Yes"/"No" radio buttons better then checkboxes. And we were forced to remove checkboxes and put radio buttons everywhere. Its better for non IT savvy people.

like image 21
Akash Kava Avatar answered Sep 29 '22 23:09

Akash Kava


I've been looking into this recently in order to design a PHP form class. As you note, the standard answer is that a checkbox should be used and I've even seen some people advocate that where radios are used, a default should be given.

I couldn't possibly disagree more. Consider when a user is a confronted with a text input, say for entering their username. If they submit the form without filling in this field, and the field is needed, we know that the empty string generated is bad input. Perhaps the user missed the field or didn't realise it was necessary. We fire an error and ask them to input the missing data.

Now considering the same scenario but with a checkbox. If the user misses the checkbox then we have no idea whether their input was intended or unintended. The same is true for radios with a default.

Consequently, I strongly suggest that a form should not contain defaults at all. If a piece of information is important enough to take from a user then it is important enough to get correct. Providing a default whether through a checkbox or a set of radios with one checked, sacrifices a large amount of accuracy for small amount of usability. Therefore, I think using Yes/No radios are vastly superior to checkboxes.

The only place a checkbox is valid, in my opinion, is where you have a small collection of options of which a user may select more than one. If the collection is large, however, then a select (without a blank default option) should be used instead.

like image 31
Rupert Madden-Abbott Avatar answered Sep 29 '22 23:09

Rupert Madden-Abbott