Home › Forums › Add-ons › Repeater Field › Output repeater field with radio button sub fields › Reply To: Output repeater field with radio button sub fields
Q1: In order to get the labels you’d have to also fetch the field object.
this can be done with get_field_object()
. It will be an array containing the field label as well as the choices with key => value pairs (and more).
Q2: I believe what you want is to sort the repeater field based on the radio fields. Have a look at this: http://www.advancedcustomfields.com/resources/how-to-sorting-a-repeater-field/
That might be enough to get you going!
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.