Skip Navigation

[Resolved] Front End Forms for Editing Nested Repeating Field Groups

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

Tagged: 

This topic contains 7 replies, has 3 voices.

Last updated by Christian Cox 4 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#1406953

Tell us what you are trying to do?
I need to create a front-end form that would allow me to edit a nested repeating field group. Is there any way to edit a Nested Repeating Field Group using Toolset Forms?

Is there any documentation that you are following?
https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/front-end-forms-for-repeatable-field-groups/

https://toolset.com/forums/topic/link-to-edit-rfg-and-nested-rfg-from-view-listing-of-all-custom-posts/

What is the link to your site?
hidden link

#1407377

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andrew,

Thank you for getting in touch.

Unfortunately no there isn't a way to create nested repeatable field group forms.

Each repeatable field group requires its own separate form.

Thanks,
Shane

#1407381

Shane,

What do you mean by "Each repeatable field group requires its own separate form."? Can you be more specific? How would I implement these separate forms?

Thanks

#1407485

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andrew,

What I meant is that Each repeatable field group will need its own separate form.

Lets say you have 2 RFG. You will need to create an individual form for each of those 2 Repeatable field groups that you created in our Types plugin.

You wouldn't be able to create the 2 RFG as one form or have 1 RFG form within another RFG form.

Please let me know if this clears it up for you.

Thanks,
Shane

#1411157

Hi Shane,

If I have a Custom Post Structured like so:

Resume 1 (CPT)
- Resume Category A (RFG)
-- Resume Detail A (NRFG)
-- Resume Detail B (NRFG)

1. I would it be possible for me to edit the NRFG using a front end form?
2. When you say I would need a separate form for each. Do you mean each record or each field group? I need more clarification on what your advice is.

Thanks

#1412191

Hi, Shane is out this week for holidays so I'm taking a look over his open tickets. Let me ask for the latest information about this from my 2nd tier support team. As far as I know, editing nested repeatable field groups (RFGs) in Forms is still technically not supported, as mentioned in the documentation here: https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/front-end-forms-for-repeatable-field-groups/

However, it is possible to create an edit post Form for a nested RFG and implement it with an edit post link, much like you would implement an edit post Form for the parent RFG with an edit post link in a View of the parent post type...nothing in the system will stop you from doing this even though it's technically not supported. This is really confusing, and I'm trying to get the best information for you now. I'll update you when I have some feedback.

#1412247

Dear Christian,

I appreciate you looking into this - being able to edit Nested RFG would be very helpful.

Thanks

#1413381

I'm pleased to have some good news about this - my 2nd tier support team says that editing nested RFGs is now supported. The documentation is under review and subject to a change soon. Basically the new Blocks plugin does not support nested Views, and the documentation for Blocks and classic Views will be split. Without nested Views, it is difficult to implement the edit nested RFG Form in a usable way. The new documentation will include more information about that. So with this limitation in mind, it's best to use the classic Views editor to create a nested View structure with edit post links to edit each RFG or nested RFG. You'll create another unassigned Content Template to hold the Edit Post Form (the post in this case is the nested RFG). So the process is very much like creating and implementing the original edit parent RFG Form.