In a form that I have, I need to know when a field has been updated regarding its conditional logic dependencies.
I suggest triggering a jQuery event, like ‘acf/update_field/conditional_logic’, passing a boolean indicating whether the conditions where met or not.
Hi @alexanderwallin
Thanks for the feature request. About 2 days ago, I added this into the code with 2 new events being triggered. These are:
acf/conditional_logic/show
acf/conditional_logic/hide
Both of them send through the $field element which is being targeted and also the rule which calculated the hide/show!
This will be part of the next version, and you can find the code in the latest build on github!
Cheers
E
This reply has been marked as private.