Hello,
I am using acf_form() calling a flexible content and trying to update it.
If i call all the flexible content e.g. "array( 'sections' )"
everything works well (i get all the layouts and submit button works without any issues, updating the post and showing the correct data.)
If i call a row of a flexible content e.g. "array( 'sections_0_data' )"
i get the first layout separately as a form in the front end with the right data of the post i need to update working fine without problem. But submitting the form is not working properly. $_POST has the right data i need to submit but they are not being saved in the post (it should update the first row of the flexible content).
Is this a bug? what am i missing?
i am uploading some photos of the work on both sides.
The second photo with the $_POST is after i updated the form changing the title to “111”. $_POST gives back 111 but the acf_form doesn’t update the data to the proper acf_field (flexible content first row etc. )as it should.