Home › Forums › Front-end Issues › Issue of adding ACF to an existing form › Reply To: Issue of adding ACF to an existing form
I would need to have more information on what you’re trying to add this to.
The only thing that I can think of here is that whatever you’re trying to add the ACF fields to is not processing the submission in a way that allows ACF to work. And if that’s the case then your manually trying to do so may not work either.
Also, if you are trying to update fields manually where data is not already saved then you need to use the ACF function to update the fields and you need to use the field key.
Example:
$acf_start_date = $_POST['acf']['field_60168af55da39'];
update_field('field_60168af55da39', $acf_start_date, $post_id);
But all these are just guesses.
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.