ACF Form Integration in Woocommerce Checkout
-
Hi,
first things first: I love your plugin! It really makes the life of my clients and my own easier ??I stumbled on a problem while trying to add a ACF Form into a WooCommerce checkout form.
The setup is the following:
- I have a Field Group “Participants” which includes a repeater field (this repeater includes information such as First Name, Last Name and Birth Date
- This Field Group is designed to assign participants to a user – the data inserted will be saved in user meta
- I’ve created a ACF Form with ACF Extended with the following settings:
No Form Tags (to have a proper integration into the WC Checkout Form), Ignore Field Locations (I use hooks for the display on the frontend), No Submit Button. Moreover I created a “User Update” Action where the Repeater fields will be loaded and updated.
Basically everything works fine – the user data is loaded and saved properly during checkout.
My problem is the following now: when I modify the repeater data during checkout and I want to finish the order my browser prints the following warning: “This page is asking you to confirm that you want to leave – data you have entered may not be saved.” I know it has to do something with the form data being changed and I thought it will be ignored / embedded into the actual form when using the “no form tag” option.
I hope my problem is clear. Do you guys know any solution to this?
All the best
- The topic ‘ACF Form Integration in Woocommerce Checkout’ is closed to new replies.