Home Forums General Issues Javascript API and cloned fields


Javascript API and cloned fields

  • I have a bunch of custom Javascript hooked into fields and I’m now trying to clone these fields. It seems though that acf.getField() isn’t able to find the cloned versions of the fields. Field keys are the same for cloned fields as the originals, so I was assuming the js function finds all of those instances. To note, these cloned fields are on the same page inside tabs.
    Is this known behavior and if so, what would be handiest way to get all the instances of cloned fields in js or should I just switch up and grab them using vanilla js?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.