Skip Navigation

[Resolved] Repeatable group doesn't show in Post Form

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

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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by WeiS2074 4 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#1658623

I have one custom type, there are 2 repeatable groups available for this type. I create a post form for add new content. In the form editor I don't find these 2 repeatable groups

#1659033

Shane
Supporter

Languages: English (English )

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

Hi Wei,

Thank you for getting in touch.

Unfortunately you are not able to Populate the Repeatable field groups of a custom post type from the same form that is Creating the post.

To create the repeatable field groups on the frontend I would recommend taking a look at this documentation below.
https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/front-end-forms-for-repeatable-field-groups/

Please let me know if this helps.

Thanks,
Shane

#1659821

The document may be out of date. It is not clear for me.
1. what is Toolset Forms Block? I don't have this plugin.
2. when I create a form for repeatable group, do I include "submit" button in the editor?
3. How do I include form of repeatable group into the form of my custom type?

#1660619

Shane
Supporter

Languages: English (English )

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

Screenshot 2020-06-12 at 2.34.50 PM.png

Hi Wei,

1. what is Toolset Forms Block? I don't have this plugin.

The Toolset forms Block is the block generated in the Gutenburg editor for our Forms plugin. This is how you will add the form to your page or template. See Screenshot

2. when I create a form for repeatable group, do I include "submit" button in the editor?

The form should already be auto generated with the Submit button, if it isn't then Yes you will need to add the submit button in order for the form to create the Repeatable field record.

3. How do I include form of repeatable group into the form of my custom type?

This is not possible to do as the Repeatable field group form is its own separate form. This means it needs to be added to a page where the Post that you want to add the Repeatable group form.

Essentially your post will need to be already created. Its not possible to create the new post and the repeatable fields all at the same time.

Please let me know if I was able to clarify the issue for you.

Thanks,
Shane

#1661117

I place non RG(repeatable group) form and RG form in a page. Yes, I have to create a custom type page first, then add the RG. And At the same time I have to select the new post from a dropdown list in the RG. Is this correct? My website allows member to submit their post. if they have to select a newly created post from a dropdown list, that is not a good user experience. Is any other solution?

#1661779

I read the tutorial https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/?utm_source=typesplugin&utm_campaign=types&utm_medium=shortcodes-gui&utm_term=displaying-repeating-fields-groups#displaying-repeatable-field-groups
Inside it mentions to place repeatable field group into a View. However based on your new design, toolset move forward from view to blocks. Do you have any update tutorial to do this?

#1663517

Shane
Supporter

Languages: English (English )

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

Hi Wei,

if they have to select a newly created post from a dropdown list, that is not a good user experience. Is any other solution?

One way to workaround this is to use a Post Relationship. With the post relationship you can have it function similar to a Repeatable field group but each set of fields will be an individual post.

How it will function on the frontend is that once you've created the Parent Post you can set your form to redirect the user to the post they created. On that post you can have a button that would link to the Child Post form for them to create the child post. The Parent post information will already be filled in so the user doesn't need to enter this.

However in order to create another Post they will need to go back to the Parent post and click the Child Post form button again to create another child post.

Let me know what you think of this idea as there are limitations to what can be done on the frontend right now. We are working on improvements particularly making the process of creating the RFG on the frontend more seamless.

Inside it mentions to place repeatable field group into a View. However based on your new design, toolset move forward from view to blocks. Do you have any update tutorial to do this?

From the link you've sent me this is an updated tutorial. Also the screenshots are showing the use of Toolset Blocks. Toolset Blocks still allows you to create a view but it is geared towards a more visual experience.

Is there anything particular that you are unsure about in the documentation ?

Thanks,
Shane

#1668249

My issue is resolved now. Thank you!