Home › Forums › Front-end Issues › Attachments parent id
Tagged: front end form, post_id
In front end form when uploading image/file via media library it set parent id of attachment as page id not post id.
I am using this tutorial http://www.advancedcustomfields.com/resources/tutorials/creating-a-front-end-form/
Thanks for the bug report. I’ll add this to the to-do and have it fixed in the next version
This has now been fixed. The issue was due to an incorrect post_id value in the JS causing many upload issues for front end forms!
Thanks again for the bug report. Would you mind downloading the latest build from github and testing it out?
Great, It’s work.
You are genius Elliot, Thank you.
Just noticed this same issue today. All attachments are getting the ID of the page that the form resides on.
I am assuming this was the same issue, and am looking forward to the fix. Makes for some trouble with permissions/capabilities.
Can you please download the latest version from github and test this issue. I believe this should not be fixed
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
Open a new forum thread
Helping others is a great way to earn karma, gain badges and help ACF development!
The Advanced custom fields plugin is proudly created and maintained by Elliot Condon
Copyright 2016 Elliot Condon