Home › Forums › Backend Issues (wp-admin) › acf_form + flexible content › Reply To: acf_form + flexible content
Because the way that you are including the fields the are being considered top level fields and not sub fields a layout. The values are likely being stored in the DB under the name of the sub field. Each subsequent submission will overwrite the last values.
The only way that I can think of doing this is to create an acf/save_post filter https://www.advancedcustomfields.com/resources/acf-save_post/ and in this filter you would need to update the flex field/layout/sub fields based on the current values of these other fields that are stored incorrectly. I’m not sure how you’d do this.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.