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