Hello and thanks in advanced for the help.
I’m trying to update a true/false value in a repeater via an outside loop.
My repeater field is ‘attendees’ and the true/false value I want to update is ‘attended’.
Here is what I have:
update_sub_field( array(‘attendees’, $rowCount, ‘attended’), 1, $EID );
$rowCount is the row position is should update. I’ve confirmed this part is working.
$EID is the id of the post.
Let me know if there is something wrong I’m doing.
Thanks!
-D