Home › Forums › Backend Issues (wp-admin) › Updating field values using the Javascript API › Reply To: Updating field values using the Javascript API
The problem is with acf.findFields({name:name}) or acf.getFields({name:name})
They are NOT returning jquery objects, whereas getField(key) IS.
I’ll report as a bug, but in the meantime I’m going to use the keys, but this is annoying as several different custom post types and forms need to use the same field names (but obviously have different keys).
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.