I’ve been trying to dynamically generate some of my select box options. See. I need a select box, that has some values (employee names) but that you can add other name to the list if this one isn’t here. Preferably whitout reloading the form or loosing whatever data I have entered.
I tried to work with the function shown in the docs:
This works as long as I save the employee names in the same post/page/options page, because the ID is a constant. So, I would have to save the employee name on a different form first in order to populate the select box.
I would like to have a select box that works like the radio field, where you have an OTHER option which you can fill and it gets added to the options that already exists.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users