Skip Navigation

[Resolved] Woocommerce product custom checkbox force only one choice selectable in the list

This support ticket is created 2 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by Jean Rapenne 2 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#2338319

Hi,

I use Custom field Checkboxes in my Woocommerce product and I need to force only one choice to be selectable.

Many thanks for the help.

Regards.

Jean

#2338587

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Do you want to validate the checkboxes selection to only one checkbox option using Toolset form or you want to validate it on backend admin while you add/edit the product in admin?

#2338631

Hi Minesh,
Many thnks for your answer.
I want the choice benne made and validated on backend admin while I Add/Edit the product in admin. Only one choice possible.
Regards
Jean

#2338783

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

To make taxonomies required in admin you will have to add custom plugin like or you are welcome to search for other plugin that validates the taxonomy in backend.
=> https://wordpress.org/plugins/required-taxonomies/

#2341369

My issue is resolved now. Thank you!