Home › Forums › Add-ons › Repeater Field › Repeater field with IF/ELSE based on sub_field value › Reply To: Repeater field with IF/ELSE based on sub_field value
if these are not getting any values then there is an issue with these fields
$post_type = get_sub_field('content_type');
$posts_per_page = get_sub_field('items_per_row');
are you sure these are the fields? Are they nested inside of something else like a group field or something?
Obviously row_order_and_qty has rows or nothing would happen so it has to be something about the sub fields.
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.