Home › Forums › Backend Issues (wp-admin) › Use ACF field selection to update another ACF field › Reply To: Use ACF field selection to update another ACF field
Yes. Can I give you a code example? No.
This needs to be done in JavaScript and use AJAX, or possibly the REST API in conjuction which the ACF JS API https://www.advancedcustomfields.com/resources/javascript-api/
You need to add a JS action that is fired when the user field is changed, make an AJAX request based on that value and then update the other field from the response.
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.