Skip Navigation

[Resolved] Repeatable fields in Group

This support ticket is created 7 years 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 3 replies, has 2 voices.

Last updated by Christian Cox 7 years ago.

Assisted by: Christian Cox.

Author
Posts
#582991
repeatable.png

I am trying to:
I am creating few repeatable fields group for both frontend and backend. I have checked this url as well https://toolset.com/documentation/user-guides/creating-groups-of-repeating-fields-using-fields-tables/ but my requirements are little different. I have created parent child post relationship. Now I have some fields in child Post for example I have 10 fields in child post and I want to repeat 4 fields in child post, not parent child relationship for these groups as these needs to be added from frontend. Please check attached screenshot for more clarification.

#583105

Hi, it looks like you want to give your front-end users the ability to:
- Create a single parent post (It looks like this might be "Retailer" or something similar)
- Create multiple "Wine" posts related to the parent Retailer (child posts)

CRED is only able to create one post at a time, meaning you cannot combine the process of creating parent and child posts into the same form. In order to allow your front-end users to accomplish these steps, you must separate them into 2 forms:
Form 1: Create new Retailer Post.
This is where the User will fill in the top form fields. After the form is submitted, you can direct the User to the single post page for this new Retailer. On this page, you can include:
- Information about the Retailer that was captured in the form
- A View of child Wine posts (will be empty at first)
- Form 2 to create new child Wine posts

Form 2: Create a child "Wine" post
This is where the User can create a new child Wine post for the current Retailer. After the form is submitted, the page will reload and the new Wine post will appear in the View of child Wine posts. The form will appear beneath that, so you can continue adding child Wine posts.

If this sounds like something that could work for you, let me know and I can provide additional details.

#583181

Hi Christian,

Thanks for the response but my requirements are little different. Retailer is already child post and I want to repeat wine details for single Retailer without any child post. Is this possible using cred?

Thanks

#583609

Oh okay, thanks for the clarification. We are in the process of updating our many-to-many relationship feature to better support groups of repeating fields like this. For now, the only way to accomplish groups of repeating fields in Toolset is to utilize child posts that capture each set of repeatable fields in a separate post. We will continue to update our blog with more information about the timeline for release of Types 2.3, which will include repeatable field groups and post relationships updates.

Some additional information about the improvements:
https://toolset.com/2017/09/first-beta-of-types-2-3-with-post-relationship/