[Resolved] Creating a post with Formidable Forms Plugin populate fields of repeatable group
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.
Hello,
I use Formidable Forms for creating posts. Everything work well, I can associate Data to custom fields. Now I added to the form repeatable fields of name , surname, email affiliation and country of team members. I need a manual function for adding the content to repeatable groups.
So use the function frm_new_post hidden link to create the assossiation. From the form I get an array like this (I could also format it different if needed):
Thank you for contacting us and I'd be happy to assist.
Your understanding is correct. The repeatable field group items are stored as separate and hidden custom post-type entries, and the post-type slug is the same as the slug of the repeatable field group. This post type has a one-to-many relationship with the parent post type.
(i.e. the post type in which this field group has been added)
Thank you Waqar. You brought me on the right track. Thank you for posting a solution. Actually I needed another function from Formidable forms to accomplish it. The function frm_new_post does not know the post id so i could not use it for toolset_connect_posts() function. But I could sucessfully use this function hidden link
williW confirmed that the issue was resolved on 2024-02-28 10:20:21.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.