I have a front end form with Gravity Forms to submit data to a custom post type, all the data is stored into ACF custom fields, the only issue i have is the Gallery Field, images are not being upload nor saved on to the post. Is there a way i can achieve this?
I have the same problem. In a form I have set up a file upload field (multiple files) and linked it to my custom field. When I submit multiple images through the form, it’s not saving the images in the gallery field. No JS errors in my console.
Hey @eaglejohn , how did you exactly proceed? I included first the part from the required.php and then the snippet from the functions.php in my own functions.php file. Files seem to upload, and appear as gallery images in the post created, though I get a warning after form submission:
Warning: pathinfo() expects parameter 1 to be string, array given in /xxx/xxx/xxx/xxx/xxxx.de/wp-content/plugins/gravityforms/forms_model.php on line 4375
Anything I am doing wrong here?
Viewing 5 posts - 1 through 5 (of 5 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