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.