Support

Account

Home Forums Add-ons Repeater Field Merge two repeater subfields into a third

Solving

Merge two repeater subfields into a third

  • Goal: merge two subfields within the same repeater into a third subfield.

    REPEATER
    Subfield A = “value 1” //(manually entered this data)
    Subfield B = “value 2” //(manually entered this data)
    Subfield C= “value 1 value 2” //automatically populates upon saving the post.

  • What type of fields are these?

  • Your third subfield is a repeater too?

    If yes get your two repeater values that you want combinate, merge it and push it in your third part with update_field().

    If no, like John asked, we’ll need to know what’s the data you’ll merge and what’s the third field.

    Cheers
    Sam

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.