I have the same requirement as you…kind of. And I am stumped. I was going though the code that worked for you, and I have a question. At the cost of appearing a dud…here goes the question 🙂
In the query here, is “rule” the name of your field group?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users