Thaks for providing your version of the code.
Any further, and you’d need to add more to the JS and to the PHP to make this cascade into grandchildren, etc.
Can you provide and example of PHP and JS where the cascade has been extended up to 4 levels.
I also noted that after updating the post the values in the select fields only show the parent value.
However when you convert the ACF fields from SELECT back to checkboxes the correct values have been saved.
So I think some additional JS is require on POST EDIT to re-populate the ACF taxonomy.
Did you solve this?
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!
© 2022 Advanced Custom Fields.