Skip Navigation

[Resolved] Adding a repeatable group to post forms

This support ticket is created 3 years, 8 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 5 replies, has 2 voices.

Last updated by MikeS1622 3 years, 8 months ago.

Assisted by: Christian Cox.

Author
Posts
#2033377

I have a CPT called Study for which I have a number of custom fields. Amongst these custom fields I currently have a simple text field called "Project Lead" and a repeating simple text field called "Project Collaborators". On the post submission form a user can add their project's lead and as many collaborators as they need to.

I now need to add an extra numeric field (a unique ID number that can be used to identify that person on a different site) to accompany both the "Lead" and the individual "Collaborators". That is obviously simple for the "Lead", but seemingly not so simple for the "Collaborators".

My assumption was that if I created a repeatable group in my custom fields I could add the simple text and numeric fields to that group, but I can't see a way to add them to the forms?

#2033383

Hello, the workflow for managing repeatable field groups (RFGs) is separate from managing their parent post. You must create a separate Form to manage RFGs, as explained in the documentation available here: https://toolset.com/course-lesson/front-end-forms-for-repeatable-field-groups/

Let me know if you have questions about that.

#2033397

If I'm understanding that correctly, I'd need to create a new CPT just for the RFGs?

#2033447

Having looked into this further I don't think this is a valid solution as, at a fundamental level, I need this all to be on one post form.

#2034085

No, you don't need to create another CPT to manage these, but they cannot be managed in the same Form as the parent post. The workflow established for RFGs requires a separate Form in the current software. We do not have a solution that allows managing the parent post and its RFGs in the same Form right now, unfortunately.

#2034569

Gutted it can't be done currently, hopefully it will be at some point. Thank you for your help!