Support

Account

Home Forums General Issues Using update_field to update repeter field nested in repeater field Reply To: Using update_field to update repeter field nested in repeater field

  • Hi @studiowizjo

    The update_field function does not append any data, so you will have to run update_field on the entire repeater and override all the data. This is not efficient but currently, this function is very simple.

    The data must be in the same format as to which it is given to you. The easiest way is to look at the docs and see how the get_field function is used to load the entire repeater field value, then append a row to it, and then save it again.

    You can see that each row is an array where the keys are each sub_field name

    Does that help?