I am building a calculator where the user must choose if has has a hybrid car or not.
I was wondering which is better a checkbox - where you check if you have one.
or a menu with yes/no (defaulting in no)
I am building a calculator where the user must choose if has has a hybrid car or not.
I was wondering which is better a checkbox - where you check if you have one.
or a menu with yes/no (defaulting in no)
By all means the checkbox. No doubt.
It is the widget especially designed for the user to answer yes/no questions.
Also, because it requires a single click to be taken to the desired state, while the menu usually requires more mouse interaction.
It is possible to wrap the checkbox in order to make it look nicer, like in those Apple-like controls, without losing accesibility.
The great advantage of the checkbox for yes/no qustions is that it's universally known.
The problem it has is how difficult is to give it style. There is an offering of checkbox wrappers online to circumvent this issue if it's important to you. I rolled my own.
Checkboxes are the preferred control for binary (Yes/No, On/Off, etc.) choices.