Checkbox vs Toggle Switch
Level 2 · Getting answers in
Three controls for yes, no and one of a few. Why a switch acts at once and a checkbox waits for Save, and when radio buttons fit instead.
Course contentsLesson 5 of 14
Level 1 · Parts and their states
Level 2 · Getting answers in
Level 3 · Finding your way
Level 4 · Layers, messages and waiting
Level 5 · Showing many things
After this lesson you can
- Choose between a checkbox and a switch
- Use radio buttons for one of a few
- Spot a switch that should be a checkbox
10 mincovers 3 glossary entries
Worth reading first: Form Field Labels and Errors
When to use a checkbox, a switch or radio buttons
A checkbox and a toggle switch both say yes or no, and they are not the same. A switch acts the moment you flip it, like a light switch. A checkbox waits until you press Save. Radio buttons are a third control, for picking exactly one option from a short set of 2 to about 5.
A checkbox is a small box you tick. In a group, you can tick as many as you like: send me news, send me offers, send me tips. Nothing happens until the form is sent. That makes checkboxes right for forms, where several answers go off together.
A toggle switch sets one setting on or off, right away. Aeroplane mode on a phone is a switch. There is no Save button, because the change has already happened. The switch should look different when it is on, using more than color, such as the knob moving to the other side.
Radio buttons are a set of round options where only one can be picked. Small, medium or large. Picking one clears the others. The name comes from old car radios, where pushing in one station button popped the last one out.
One test settles most cases. Ask what happens when the control is touched. If the change should happen now, use a switch. If it should wait for the rest of the form, use a checkbox. If the user must pick one of a few, use radio buttons.
A single checkbox can stand alone, such as I agree to the terms. A single radio button cannot, because there is nothing to pick between. A radio group should often start with one choice picked, so the user is never left with none.
The common mistake is a switch inside a form with a Save button. The user flips it, sees it go on, and thinks the setting is saved. Then they leave without pressing Save, and nothing changed. In a form, use a checkbox.
Which one to pick
- 1
Pick it in a form, where the answer is sent with the rest when the user presses Save.
- 2
Pick it for a setting that should change at once, with no Save button anywhere.
- 3
Pick them when the user must choose just one. The list should be short, about five or fewer.
Tick one, flip the other
Checkbox, inside a form
Waiting for Save.
Switch, in settings
Off, right now. Flipping it changes the phone at once.
Tick a box on the left, then flip the switch on the right. Only one of them has happened.
Tick a box, then flip the switch. The log shows that only one of them has done anything yet.
Worked example
A settings page drops its Save button
An email app's settings page had 12 checkboxes and a Save button at the bottom. Support got many messages from users whose changes were lost.
The team swapped the checkboxes for switches that save at once, and removed the button. Messages about lost settings fell to almost none.
The words for this lesson3
Check yourself
Should I use a toggle switch or a checkbox in a form with a Save button?
Finished this lesson?
Marking it complete also marks its 3 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.