Home › Forums › General Issues › Updating fields in Groups in acf/save_post › Reply To: Updating fields in Groups in acf/save_post
@keithlock I am facing same issue updating main group with another group as sub-field.
So it is like
maingroup_subgroup_subgroupfield
If I want to update fields of subgroup, I need to pass maingroup with an array of subgroup and its values,
When maingroup doesn’t exist, and updating fields of subgroup
update_field('maingroup', $values ,$post)
it returns true
But when maingroup exists, and updating fields of subgroup
update_field('maingroup', $values ,$post)
it returns false
Isn’t there still a native ACF Function to update single field of a group?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.