Home › Forums › Add-ons › Repeater Field › How to display a value in array ones if it exists in the sub-field? › Reply To: How to display a value in array ones if it exists in the sub-field?
Can you please clarify what you mean by:
“My goal is to display only ones the STATE_NAME and displays all the CITY_NAME if they have all the same STATE_NAME.”
This is a bit confusing, but I think you want to display all the repeater field data grouped into headings of city_name and state_name?
perhaps attach a drawing of the desired visual output?
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!
We’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.