Home › Forums › General Issues › ACF form not updating form fields
I have ACF form on my website this page : /my-account/edit-basic-info/
I have some acf fields in my users, I want to edit or update user using acf form, but it’s not working
I’m using my custom plugin to show acf form on my-accout page
Please let me know why it’s not updating the fields.
I have attached my code file
Are you adding this into the default woocommerce account dashboard?
If so you might need ‘form’ => false
So multiple forms are not rendered in the dom. ie;
<form action="{default_wc_account_url}" method="POST">
<form action="{ACF_FORM}"> // your form is creating this.
</form> // and this inside the default form.
</form>
I have do this ‘form’ => false
now form is removed just fields are showing
we can’t update fields values.
@josh-ps
No, but when i added then please have a look attached images
No, but when i added then please have a look attached images
Remove the acf_form_head() from your function and add this to your functions.php
add_action( 'init', function() {
acf_form_head();
});
You must be logged in to reply to this topic.
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.