Support

Account

Home Forums Add-ons Repeater Field Updating True/False inside Repeater.

Unread

Updating True/False inside Repeater.

  • 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

Viewing 1 post (of 1 total)

The topic ‘Updating True/False inside Repeater.’ is closed to new replies.