Home › Forums › General Issues › Prepopulate Custom Fields Based off of Taxonomy › Reply To: Prepopulate Custom Fields Based off of Taxonomy
Hi @johnstew
I’m afraid you need to create a custom Javascript code to do it. The problem is that repeater field has a complex layout that makes it hard to modify. For something like that you would need to hire a developer to help you out with it, and I’d recommend looking for one on https://studio.envato.com/ or https://www.upwork.com/. You can also check this page to learn how to add custom Javascript code: https://www.advancedcustomfields.com/resources/adding-custom-javascript-fields/.
I think it will be easier if you don’t need to show the generated items right away. That means that you need to update/save the post, which reloads the editor page, to show the items. To do that, you can use the acf/save_post hook and the update_field() function to update the repeater value.
I hope this makes sense 🙂
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.