Home › Forums › Front-end Issues › ACF not save the default value when submit at Front-End › Reply To: ACF not save the default value when submit at Front-End
ACF cannot set the default value of fields that are not submitted. This means that if they are not included in the form then ACF will not do anything with them.
The solution you found is similar to what I would suggest except that I would use an acf/save_post action
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.