Home › Forums › ACF PRO › Repeater Fields Comparison › Reply To: Repeater Fields Comparison
This would be extremely difficult as there is nothing in the repeater to identify it unless you create that identification.
Basically you would need to
1) Get the post where each repeater resides resides
2) Loop through the repeater until you find the row you’re looking for
3) Store the value of the row, possibly in an array, for later comparison
So when selected there would need to be 2 pieces of information passed to the comparison page, the “Provider” and something unique in the repeater row to identify the “Plan” from that provider so that you could do the querying and getting of the row from the repeater.
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 use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.