Skip Navigation

[Resolved] Field Groups and Reusable Fields not showing up on the CPT edit screen

This thread is resolved. Here is a description of the problem and solution.

Problem:
Can we use same filed name with different field groups assigned to same post type

Solution:
Adding a same filed multiple times does not logically makes sense as the values will be overridden and its not suggested as well.

If you want the same field multiple times, why dont you go for repeating field group

Relevant Documentation:
=> https://toolset.com/course-lesson/creating-and-displaying-repeatable-field-groups/

This support ticket is created 3 years, 5 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 2 replies, has 2 voices.

Last updated by beingk 3 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#2073187

Hello. I'm trying to reuse fields like Title, Image, URL in a couple different sections of the same template. I understand that I can't reuse the same field in the same group, but I can create different groups (for each section) and reuse the fields. Toolset allows me to do that and I have for a particular CT the following:

Section A Field Group:
-Title Field
-Image Field
-URL Field

Section B Field Group:
-Title Field
-Image Field
-URL Field

The problem is that when I try to create/edit a post, only 1 group appears. I actually tried adding a 3rd group and it showed up for a bit, but Toolset keeps removing it. Is this the expected behavior or a bug?

I feel like for Views to work, each template should not allow more than 1 of the same fields, even if the fields are in separate Groups. Unless the fields are of the repeated type. But the backend still allowed me to add the Filed Groups with the same fields, so I found it confusing.

Thank you!

#2073377

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Adding a same filed multiple times does not logically makes sense as the values will be overridden and its not suggested as well.

If you want the same field multiple times, why dont you go for repeating field group?
=> https://toolset.com/course-lesson/creating-and-displaying-repeatable-field-groups/

Will that help?

#2073381

My issue is resolved now. Thank you!