Home › Forums › Backend Issues (wp-admin) › I have successfully added the form but the acf field is not saving › Reply To: I have successfully added the form but the acf field is not saving
I don’t really understand your code, do you have 2 forms on the page?
Anyway, to create a new user you need to use a different “post_id” something like “new_user” as your post ID.
Then you need to use an acf/pre_save_post filter that checks for your “post_id” value, inserts the new user and then returns the correct user id in the format "user_{$new_user_id}"
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.