How to Unselect a Radio Button
To unselect a radio button, use a form-provided Clear or Reset control, choose a provided “none” option, or, if you build the form, clear the group with code; clicking the selected circle again normally will not turn it off. Radio buttons are meant for a group where exactly one choice is active at a time, so a blank state needs to be designed deliberately. This article is about the radio-button form control, not a button on a radio receiver.
What a Radio Button Is Designed to Do
A radio button represents one choice from a set of mutually exclusive choices. Selecting one option automatically clears the previously selected option in that same group, but selecting the already-selected option does nothing.
The U.S. Web Design System radio-button guidance treats radio buttons as a control for selecting exactly one choice from a group. That makes them a poor fit when people may need to turn an individual setting on and off.
A checkbox is different:
- A checkbox can be checked or unchecked by clicking it again.
- Several checkboxes can be selected independently.
- A single yes/no setting should usually be a checkbox, not a one-item radio group.
If your form needs a person to choose one of several mutually exclusive options but also needs an escape route, use a meaningful “None of the above,” “No preference,” or “I don’t want to choose” option. If no selection at all is valid and the choices work independently, use checkboxes instead.
How to Clear a Radio Button Selection
Choose the behavior that matches what a blank response should mean before adding code or changing the form.
| What You Need | Best Approach |
|---|---|
| You are filling out an existing form | Use its Clear, Reset, Start Over, or “None” option if it has one. |
| The user must pick one answer from several choices | Use a normal radio group. |
| The user may decline every listed choice but must still give an answer | Add a “None of the above” or similarly meaningful radio option. |
| The user may leave the question truly unanswered | Make the group optional and provide a Clear selection button or use checkboxes where appropriate. |
| There is only one setting to turn on or off | Use a checkbox. |
| You need to delete a control | Delete the Option Button object, not the value in its linked cell. |
Step 1: Define What “Unselected” Means
- Decide whether the user should submit a true blank value or an explicit response such as “None of the above.”
- Use “None of the above” only when it is factually accurate. For a preference question, “No preference” may be clearer.
- Set the form’s validation rules after deciding whether a blank result is valid. A required radio group cannot be submitted with every option cleared.
A blank answer, an explicit “none” answer, and restoring a default answer are three different outcomes.
A blank answer usually sends no value for that field when the form is submitted. A “None of the above” radio button sends a real value, such as none. That distinction matters when you review saved responses later.
Step 2: Build a Clearable Radio Group
- Give every related radio input the same
namevalue. That is what makes them one radio group. - Wrap the group in a fieldset and describe it with a legend.
- Match each
<label>element’sforattribute to its radio input’sidattribute. - Add a meaningful no-choice option if an explicit no-choice response is allowed.
<form id="source-form">
<fieldset>
<legend>Select one listening source</legend>
<input type="radio" id="source-fm" name="source" value="fm">
<label for="source-fm">FM radio</label>
<input type="radio" id="source-stream" name="source" value="stream">
<label for="source-stream">Online stream</label>
<input type="radio" id="source-podcast" name="source" value="podcast">
<label for="source-podcast">Podcast</label>
<input type="radio" id="source-none" name="source" value="none">
<label for="source-none">None of the above</label>
</fieldset>
<button type="button" id="clear-source">Clear selection</button>
<button type="submit">Save</button>
<p id="source-status" aria-live="polite"></p>
</form>
The fieldset establishes that the controls belong together, while the legend supplies the group’s question or instruction. Matching each label’s for attribute with its input’s id makes the label clickable and gives assistive technology the correct relationship.
For a single item, such as “Receive email updates”, use a checkbox. Grove’s radio-button guidance recommends checkboxes when there is only one item to select.
Step 3: Add a Literal Clear Button
A “None of the above” option still selects a radio button. If your application truly needs every radio button cleared, add a separate button that clears the group.
- Give the clear button
type="button"so it does not submit the form. - Select only the radio buttons in the intended group by their shared name attribute.
- Set each radio button’s
checkedproperty tofalse. - Announce the result in a live-status message so keyboard and screen-reader users receive confirmation.
const clearButton = document.querySelector("#clear-source");
const sourceButtons = document.querySelectorAll('input[name="source"]');
const status = document.querySelector("#source-status");
clearButton.addEventListener("click", () => {
sourceButtons.forEach((button) => {
button.checked = false;
});
status.textContent = "Selection cleared.";
});
Do not add required to any radio in this group if the Clear selection button is meant to leave the answer blank. Native browser validation will otherwise block submission after the selection is cleared.
Avoid writing a click handler that tries to make a radio button toggle itself off when clicked again. That behavior conflicts with the normal expectation for radio buttons and can behave inconsistently with keyboard navigation. A separate Clear button is easier to understand.
Step 4: Test Mouse, Keyboard, and Submission
- Click each radio button and its text label. Only one option should be selected at a time.
- Click Clear selection. Every option should become unselected, and the status message should confirm it.
- Use the Tab key to reach the group and arrow keys to move between radio options. Tab again to reach the Clear selection button, then activate it with Space or Enter.
- Submit the form once with a selection, once with “None of the above,” and once after clearing the group. Confirm that your form-processing code treats those three outcomes correctly.
- If you also include a Reset button, test it separately. A form reset restores the original default state; it does not necessarily leave the group blank.
Existing Forms, Adobe PDFs, and Excel
Existing Online Forms
You cannot usually unselect a chosen radio button on a website by clicking it a second time. Look for a control labeled Clear, Reset, Start over, or similar, or select a provided no-choice option.
Be cautious with Reset controls. They often reset every field on the page, not just one radio group. If the form has no clear option and no “None” response, the site owner has chosen to require a selection or has not provided a way to change the field back to blank.
Adobe Acrobat PDF Forms
In a fillable PDF, a Clear Form action may restore fields to their original values. Use it only if you are comfortable clearing other answers in the form.
If you are creating the PDF form in Acrobat and need to clear one radio-button field, form JavaScript can set that field to its off state. Add an action to a dedicated button or another appropriate field action, replacing cashOption with the exact name of your radio field:
this.getField("cashOption").value = "Off";
Configure the PDF field’s validation and clear action together.
Excel Option Buttons
To delete one, select the control itself rather than the cell linked to it.
Deleting the control does not automatically erase any value already stored in its linked cell, so clear that cell separately if needed.
Default Selections, Reset, and Toggle Behavior
To make an HTML radio button selected when the page first loads, add the checked attribute to one radio button in the group:
<input type="radio" id="source-fm" name="source" value="fm" checked>
<label for="source-fm">FM radio</label>
Only one radio button with the same name should have checked in the original HTML. If none has checked, the group can start with no selection.
To select a radio button later with JavaScript, set its checked property to true:
document.querySelector("#source-fm").checked = true;
A form Reset button returns controls to their original HTML defaults. If the original markup has one radio marked checked, Reset brings that selection back. If no radio is initially checked, Reset can return the group to a blank state.
A radio button should not act like a toggle switch. If a user needs to click once to turn something on and click again to turn it off, use a checkbox. That behavior is clearer visually, works naturally with keyboards, and matches the control’s meaning.
Confirm the Result Before You Publish
Before releasing a form, check these details:
- Only one normal radio option can be selected at a time.
- Every radio input has a visible, clickable label.
- The group has a fieldset and a clear legend.
- “None of the above” is an intentional submitted answer, not a disguised blank.
- A blank state, if offered, has been tested at submission.
- The Clear button affects only its intended group.
- Reset restores defaults in a way that matches the form’s purpose.
- Your saved data can distinguish a selected answer, an explicit none response, and a missing answer.
Next, build and test the response state your form will collect before collecting real submissions.
Frequently Asked Questions
Can I deselect a radio button by clicking it again?
No. In standard browser behavior, clicking an already-selected radio button leaves it selected. Choose another option, use a provided Clear or Reset control, or clear the group with code if you created the form.
Is “None of the above” the same as leaving a radio group blank?
No. “None of the above” is a selected radio value and is submitted as a deliberate response. A blank radio group normally submits no value for that field at all.
Can radio buttons start with no option selected?
Yes. A radio group can start blank when none of its radio buttons has the checked attribute, and it can remain blank until the user or code selects an option. Omit the checked attribute from every radio button in the group and do not make the group required. The group will remain blank until the user chooses an option or your code selects one.
How do I clear one radio group without resetting the whole form?
Use a separate button that sets every radio input in the group to checked = false. Select the group by its shared name so unrelated radio groups and other form fields keep their current values.
How do I unselect a radio button in Adobe Acrobat?
Set the radio field’s value to "Off" with Acrobat form JavaScript, such as this.getField("cashOption").value = "Off";. Replace cashOption with the field’s exact name and ensure the field is not required if an empty response is permitted.
Should I make a radio button toggle on and off?
No. Use a checkbox for an on/off setting or any option that users should be able to deselect with a second click. Keep radio buttons for mutually exclusive choices, then provide a meaningful none option or a dedicated Clear selection button when blank is allowed.
