So I have a field group that contains a repeater field, in that repeater field I have 2 fields, image and a set of 5 checkboxes.
What I am trying to do is get that list of checkboxes that I created and echo them out into a list of all 5. But i don’t want it inside of the repeaters while loop. I want it to be a “master” list of the options that can be checked for all the rows of the repeater.
I searched and found a few things, but nothing worked because they all used the_field('field_name');
and mine would need to be the_sub_field('field_name');
since it is a field within a repeater. But that did not work when I tried it outside of the loop. And when I tried it inside the loop it just gave me a list of checked items for each repeater.
Any help would be greatly appreciated.
Does anyone have any input on this issue please? Thanks all!