Home › Forums › Add-ons › Repeater Field › Pre-polulated repeater field? › Reply To: Pre-polulated repeater field?
This example I have shows how to dynamically populate several additional fields base on a relationship field https://github.com/Hube2/acf-dynamic-ajax-select-example/tree/master/dynamic-fields-on-relationship.
If you look at some of my other examples you might be able to work out what changes need to be made for a repeater, but basically you can get the row your on by using something like $(e.$el).closest('.acf-row');
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.