Hi,
I try to figure out how to correctly map ACF repeater fields (used for a custom post type) to Formidable Forms repeater fields of a form (that creates/update posts).
Thanks to this article https://formidable-masterminds.com/repeater-fields-and-acf-integration/, I succeeded to populate and update ACF repeater fields of a post when I create / update a form entry.
But when I update the ACF repeater field of a post from its edit screen, it doesn't update the form entry...
If someone has a solution, it would be great !
Best Regards,
Cedric
Out of the box, ACF and Formidable provides a one way link from Formidable->ACF. To update a WordPress post and provide an ACF->Formidable direction, you could use the WordPress edit_post action to update the Formidable entry's meta.
The trick is how to get the Formidable entry ID so the update functions work. You're saving the Formidable entry id in the custom CPT fields, then you already have it. If you don't have the entry id saved with the CPT, then you you have to use the CPT post_id to link to the Formidable entry. Any post created by the Formidable Create Post action has its entry id stored in the frm_items table.
Hi Victor,
Thank you for your response. Yes, it's a one way link from Formidable->ACF. When I will have a little more time, I will dig into finding a solution and will post it if it works.
Please login or Register to submit your answer
Hey Cedric,
ACF repeater fields (and date fields) are stored in different formats in ACF than in FF. This makes a two-way sync of data very difficult. It isn't currently supported by ACF/FF, and I'm not aware of any workarounds.
However, This is on the Formidable roadmap as something we in the early stages of researching and designing to support this functionality in the future.
I'm following along and would love to know if another community member has a solution or workaround for this use case.
Hi Steve, thank you for your response. Great if it is on the Formidable roadmap !