Skip Navigation

[Résolu] Bulk adding checkboxes

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
Want to duplicate field in the same Field Group.
Solution:
You cannot duplicate an entire field or Group in the same CPT as that creates several conflicts with the Slugs of the Fields.

If you want to duplicate the checkbox field in different Custom Post type, then you can do is create a new group and then add Fields that "already exist".

This is an option when you start to add fields to the Group.
(See "or you can Choose from previously created fields") Screenshot here:
https://cdn.toolset.com/wp-content/uploads/2018/02/616001-existing_fields_1.png?x78697
Relevant Documentation:

This support ticket is created Il y a 6 années et 9 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

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

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

Dernière mise à jour par Adrian Il y a 6 années et 9 mois.

Assisté par: Noman.

Auteur
Publications
#615876

Hi, I created a checkboxes field, and I need to add 32 checkboxes.
Problem is I need to add several such checkbox groups with the same 32 checkboxes. Is there a way to duplicate the checkboxes field so that I do not go blind trying to do this?

Don't mind getting a little dirty with chrome's inspect element tool.

Thank you

Adrian

#616001

Noman
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Karachi (GMT+05:00)

existing fields.png

Hi Adrian,

Thank you for contacting Toolset support. Do you want to duplicate the checkbox field in different Custom Post type or you want to duplicate the checkbox field in the same Custom Post type?

If you want to duplicate the checkbox field in different Custom Post type, then you can do is create a new group and then add Fields that "already exist".

This is an option when you start to add fields to the Group.
(See "or you can Choose from previously created fields") See attached screenshot.

You cannot duplicate an entire field or Group in the same CPT as that creates several conflicts with the Slugs of the Fields.

Thank you

#616092

Hi Norman,

Thank you for your answer, I ended up finding the same solution. It seems a little weird you can't re-use field sets from the same Field Group. I hope the development team can find a fix for that. In the meantime i created another field set and added the field there then re-added it to the one I wanted it in.