Home › Forums › General Issues › Saving a dynamic Select Box › Reply To: Saving a dynamic Select Box
Are you trying to loop over the same flex field that the repeater=>select is part of. I don’t know if that would cause the problem but I’m guessing that might be it.
My second guess would be that you are not defining the post ID for the have rows loop and ACF does not know what post to use. You can test this by adding the following to the top of your function
global $post;
var_dump($post->ID);
and see what post ACF is assuming it should get the values from.
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.