Home › Forums › Add-ons › Repeater Field › User multi-select field in a nested repeater field in an options page. › Reply To: User multi-select field in a nested repeater field in an options page.
Hi @M Squared Graphics
Is the issue that the nested has_sub_field does not work?
Does the data save correctly, but the loop doesn’t work?
I think it is a current bug that is caused by the $post_id param being different to the parent loop.
Your parent has_sub_field loop uses the $post_id of ‘options’, but your child loop doesn’t. This is logical and I don’t blame you for coding this, it’s how I would too.
I think that if you ad ‘options’ to your nested has_sub_field loop, then it will work!
I’ve experienced and fixed this with the next version of ACF 4.3 which should be out soon.
Hope that helps.
Thanks
E
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.