Passer la navigation

[Résolu] At least one item must be selected from a taxonomy

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

Dernière mise à jour par Minesh Il y a 2 years, 4 months.

Assisté par: Minesh.

Auteur
Publications
#2680031

At least one item must be selected from a taxonomy

I used the customcode supplied by Toolset but it does not work. The name of the code is 'mandatorytaxonomy'.

I tested it with taxonomy 'koopofhuur'.

What is the link to your site? lien caché

#2680039

Minesh
Supporter

Les langues: Anglais (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please tell me bit more details where exactly you want to make taxonomy required?

Is it using Toolset form or while add/edit post screen in the backend?

If you can share bit more details with few screenshots and problem URL I will be able to guide you in the right direction.

In addition to that - Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/

#2680402

Minesh
Supporter

Les langues: Anglais (English )

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

I see you did not activated the custom code snippet "mandatorytaxonomy" you added.

I've activated that - Can you please try to submit the form without selecting any terms for your taxonomy "koopofhuur" and check now if this help you to resolve this issue.