Support

Account

Home Forums Front-end Issues My frontend form is prefilled with previous entries all the time

Helping

My frontend form is prefilled with previous entries all the time

  • I am using ACF to append some fields to the Woocommerce registration form using a plugin. In my staging site this is working fine. However in the live site the fields are prefilled with the last submission. The data is also not saving.

    Creating a new page and adding the form to it fixed the issue temporarily. However the after a day the issue is there again.

  • Unless you are setting the post ID, or you acf_form() to create a “new_post”, or you have a pre_save_post filter that is setting the post ID to save the content to then ACF is saving and retrieving the data to the current page (global $post->ID).

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.