Home › Forums › Add-ons › Repeater Field › How to get a value from another repeater field? › Reply To: How to get a value from another repeater field?
Hi @kulturbanause
I think there are a few issues here:
1. You use get_sub_field(‘liveticker_nummer’);
. This would only work if you are within a has_sub_field
loop. Is this correct?
2. Your WP_Query is looking up sub field data (i think, but I’m a bit confused). If so, you need to use LIKE to allow for the wildcard row search.
Perhaps you could attach some screenshots of the backend so I can clearly see the fields and how your code is attempting to interact with the data?
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’re excited to announce we've released Composer support for installing ACF PRO.
— Advanced Custom Fields (@wp_acf) January 31, 2023
🎉 #ComposerPHP fans rejoice!
✨ Please see the release post for all the details and full instructions. https://t.co/ebEfp61nlR
© 2023 Advanced Custom Fields.
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.