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
By the sound of it, somehow there is something missing, or for some reason an ‘endif’ or ‘endwhile’ is not being executed. It’s hard form me to tell, the code you’ve posted is hard for me to read and with the syntax you used it’s not possible for my IDE to figure out what is not matched correctly.
When the flex field is included there is an END SOMETHING that is being executed that stops the loop over the repeater causing only one row to be shown. When the flex field is not include there is and END SOMETHING that is not being executed causing an infinite loop in whatever is being output.
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.