Passer la navigation

[Résolu] Woocommerce product custom checkbox force only one choice selectable in the list

This support ticket is created Il y a 4 years, 2 months. 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 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 4 réponses, a 2 voix.

Dernière mise à jour par Jean Rapenne Il y a 4 years, 1 month.

Assisté par: Minesh.

Auteur
Publications
#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

Les langues: Anglais (English )

Fuseau horaire: 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

Les langues: Anglais (English )

Fuseau horaire: 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!