@failcookie I have been looking for a solution to a similar problem and was wondering if you could share your code with the addition of the dropdown. Thank you.
@paulhuisman I am trying to solve this problem myself. Would be great if you posted your solution.
@awc No, I have not got this working yet. Thank you for offering the code if you come across it.
Thanks John for the help. I also appreciate your support on these forums. I am new to ACF and your code and comments have been very helpful with my project.
@awc Did you ever get this working. I am not sure if what I am trying to accomplish is similar to what you are trying to do in your project.
I have an Option Page with a text area that lists all of our contractors. I would like our users to be able to add a contractor in the select field that is not listed so they do not have to go back and forth between the CPT edit page and Option Page.
I am looking to do something similar to what you are trying to accomplish. I ended up stumbling upon this link to an example from a post in the forums. I hope this help.
https://github.com/Hube2/acf-dynamic-ajax-select-example/tree/master/dynamic-select-example
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.