Support

Account

Home Forums Feature Requests JS hooks – a reference to DOM node of the rendered item in the callback function Reply To: JS hooks – a reference to DOM node of the rendered item in the callback function

  • I’m not sure if I can help you with what your looking for specifically, but since the last time I commented on this topic I have been doing a bit of testing and working with the ACF JS and learning how to extend it and create new functionality for fields. I don’t know if any of this will help you but you can look at the JS I’ve created for some things in these files https://github.com/Hube2/acf-input-counter/blob/master/acf-input-counter.js https://github.com/Hube2/acf-custom-field-locations-rule/blob/master/acf-custom-field-location-rule.js https://github.com/Hube2/blunt-parametric-search/blob/master/admin/js/admin.js.

    I don’t think that any of it will specifically answer how to get a value from a certain field. ACF itself relies heavily on the data-key attribute of the field wrapper, if that’s any help to you.