Support

Account

Home Forums Add-ons Gallery Field Gravity Form Multi-File Upload to ACF Gallery Field

Helping

Gravity Form Multi-File Upload to ACF Gallery Field

  • 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.

    Any help is appreciated, Thank you.

  • 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.