Home › Forums › General Issues › Updating sub field value in nested repeater and row using acf/save_post › Reply To: Updating sub field value in nested repeater and row using acf/save_post
After the first have_rows() loop you no longer need to supply the post ID
// post id not needed in sub loops
if( have_rows('codegroep') ):
while( have_rows('codegroep') ) :
Other than this the only reason I know of that the row cannot be update is that there are not rows to begin with and have_rows() is false. You cannot use have_rows() loops to update repeaters that have no values/rows.
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.