Skip Navigation

[Resolved] add repeatable field group to existing form

This support ticket is created 3 years, 6 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)

Author
Posts
#2051877
Schermafbeelding 2021-05-11 om 15.24.12.png
Schermafbeelding 2021-05-11 om 15.24.32.png

I have created a front-end submission form for the CPT "Cases".
In this form, I need a repeatable field group. I have created this repeatable field group in an existing Custom Field Group.
It appears in the dashboard when I go to Edit Case.
Now I want to add it in the existing frontend form for submitting a new Case.
But the repeatable field group is not visible under "Post elements" so I can not drag it into the form.

I have also created a new repeatable group.
It appears in the dashboard when I go to Edit Case.
But this group I also cannot insert in the existing submit form.

Documentation that I followed:
https://toolset.com/course-lesson/creating-and-displaying-repeatable-field-groups/
https://toolset.com/forums/topic/repeatable-field-groups-form/

#2052289

Hello, the workflow for adding or editing repeatable field groups (RFGs) is currently separate from the workflow for adding or editing their parent posts. We have documentation regarding this workflow available here: https://toolset.com/course-lesson/front-end-forms-for-repeatable-field-groups/

There currently is no built-in method for including repeatable field groups in a Form that creates or edits their parent post type. That would require a significant amount of custom programming using JavaScript and our PHP APIs for both Forms and Post Relationships. That level of customization falls outside the scope of support offered here in the forums, so we typically recommend following the workflow outlined in the documentation linked above.

Let me know if you have questions about this approach and I'll be glad to help.

#2055229

Thank you Christian,
My issue is not yet resolved yet. I will need more time to explore the possibilities and limitations of front-end forms.
You may close this topic and maybe I will come back later if I need more assistance.

#2056755

Closing here per your comments. Feel free to open new tickets as needed.