Home › Forums › ACF PRO › Adding my custom fields to existing front-end post/update form › Reply To: Adding my custom fields to existing front-end post/update form
Not sure if you’re still looking or have figured something out, but just in case someone is trying to do something similar.
Without seeing the code or knowing the theme you’re talking about I would guess that this is because there are 2 different forms.
There are a couple of choices, and to be honest I don’t know if either of them will actually work.
The first is to find a way to add inputs into the theme form and then use the ACF update_field() function to save the fields when the form is submitted. The problem here is getting your new fields into an existing form.
The second would be to see if you can add the theme fields to an ACF field group. If the fields are stored in the postmeta table this could be done by duplicating the field names used by the theme, this would cause ACF to save the fields when the ACF form is submitted. The problem here is there may be some problem on the back end where these fields appear twice.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.