Skip Navigation

[Resolved] Is there a way to add a "clear selection" to the radio buttons?

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)


I have created a custom post type and I have a field with radio buttons. The client is asking for a "clear selection" button if the radio buttons are clicked by mistake. The radio buttons are not a required field and the client is afraid someone will click a radio button and not be able to correct the mistake.

I'm thinking of changing the radio buttons to checkboxes but there are already a lot of custom post type entries and I'm afraid I'll lose the radio button data if I change them to checkboxes.

Thanks in advance for your help.


hidden link



Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi John,

Thank you for contacting us and I'd be happy to assist.

There is no built-in feature available to add a clear/reset button for the radio field. To achieve this you can use some custom HTML and script.

Here is a useful discussion on the topic of using a custom script for this:

I hope this helps and for more personalized assistance around custom code, you can also consider hiring a professional from our list of recommended contractors:


This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.