Home › Forums › Feature Requests › Option Relationships › Reply To: Option Relationships
Hi @Epik
Thanks for the feedback. Yes some sort of ‘clone’ or ‘ditto’ field would be awesome, and I hope to add one in soom.
For the time being, I would create a select field in each field group called ‘counties’, but I would not add in any choices.
Use a filter to hook into the field and populate the select field choices dynamically. This means all your country fields will load the choices from some PHP. And you can then store all your country data in PHP, or even a json file.
Checkout this article to learn more:
http://www.advancedcustomfields.com/resources/tutorials/dynamically-populate-a-select-fields-choices/
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.