Support

Account

Home › Forums › Add-ons › Repeater Field › Update sub field before/after save post › Reply To: Update sub field before/after save post

  • Perhaps someone can tell me why this code:

    $oldValue = get_sub_field('project_current_status');

    …is returning the last of all of the ‘project_current_status’ fields (total)!

    My understanding is that it should only be returning the field referenced inside of the ‘have_rows’ loop.

    Is this not correct? Thank you.