I want to select choices from a acf checkbox based on a acf text field which is inside a repeater. For example, if the text field says “Orange” then it should choose “Orange” from the checkbox if that option is available when the custom post is saved.
I have tried with save_post but it only worked if there only is only text field in the repeater. If there are two then the latest text field will populate the choices checkbox.
I would very grateful for any information.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users