Home › Forums › General Issues › Populate choices of a Select Field Type using SQL query › Reply To: Populate choices of a Select Field Type using SQL query
The options page use on that tutorial is just an example, I was basically refering to that article for the example of how to add the values for $field[‘choices’].
As far as keeping states, cities and towns associated, that’s a different story and not easy to do in ACF.
My original answer was for what you asked, can you dynamically generate the choices of a select field.
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!
© 2023 Advanced Custom Fields.