Home Forums ACF PRO Show/Hide groups based on select value (Javascript) Reply To: Show/Hide groups based on select value (Javascript)

  • No, this has not been implemented and I have not updated the plugin you referenced in a long time. There have been a lot of changes in ACF since I created that and I’m not likely to update it. The main reason being that it is very poor for performance. On top of this, the JS code in ACF has been completely rewritten since then. I don’t know what I’d need to do to make it work or even where to begin at this point and I don’t really have the time to look into it.

    Doing a search I can’t come up with a solution for you.

    I would suggest that you look at the JS file in the plugin
    1) acf.ajax.extend() no longer works
    2) you need to figure out how to add the actions to the fields without using `acf.ajax.exend()
    3) you need to figure out what function in the ACF JS to call to cause it to update the field groups, this used to be .update($field, $value).fetch();