Hi, I have a multi-file upload field on gravity form and I used apc_media merge tag to upload files to the media library to be inserted into the post. The field values seems to be returning on standard fields however on acf gallery field, it only fetched and returned the last media that was uploaded.
An ACF gallery field holds an array of attachment IDs. My guess is that whatever you are using to insert the values is creating multiple entries in the post meta table instead of a single array entry. You will need to alter it to save the value the way ACF needs it in the DB. I don’t know how to do that.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users