Home › Forums › Front-end Issues › Front-End Form Save as Custom Status › Reply To: Front-End Form Save as Custom Status
The one thing that I can see wrong is that this $_POST['acf']['submitted']
has no value. ACF fields are submitted using the field key and not the field name, for example $_POST['acf']['field_abc123']
. So you’ll need to substitute your field key there to get any type of a result. More than likely your currently generating an undefined index error in php. There is more information on this here https://www.advancedcustomfields.com/resources/acf-save_post/ where it talks about using this other filter before ACF has saved values.
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.