Home › Forums › Backend Issues (wp-admin) › Changing Field values with jquery gets ignored. › Reply To: Changing Field values with jquery gets ignored.
Triggering the change event makes ACF update the _acfchanged you mentioned and may have other effects that I’m not aware of. It was really just a guess, but I’ve been working on projects where I’m extending the ACF JS and where I need to trigger change events after changing values in order to trigger ACF up update conditional logic in fields that also need to be updated because of my changes.
This JS file has a bunch of “experiments” that I’ve done with extending the ACF JS functions. Linking to it because it has a lot of things in it that can help others that might be looking for information on how to do things in ACF using jQuery.
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’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U
— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.