Home › Forums › Backend Issues (wp-admin) › Dynamically populating repeater fields with default values? › Reply To: Dynamically populating repeater fields with default values?
Thank you @folosophy for posting the code (and the fix w/ the counter). I’m wondering if you would be able to help with a solution for pre-populating the repeater with post titles from a custom post type instead of values from another ACF repeater?
I have a Custom Post Type “Teams” and each post’s title is a team name. I would like to pre-populate an ACF Repeater Field with each team name. Any suggestions?
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.