Home › Forums › Feature Requests › Button to Reset to Default Values › Reply To: Button to Reset to Default Values
So if you’re getting the confirmation popup then you’ve got the field set up with the button and the script is being loaded.
Please post the code for each of these things and I will attempt to look at it and see if there is anything I can see that would be stopping it from working.
1) The function that enqueues the JavaScript
2) The JavaScript function
3) The function that performs the AJAX request along with the add_action() call for it.
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.