[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.
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
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?
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.
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?
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 ?