Home Forums Add-ons Options Page Unable to dynamically populate select field


Unable to dynamically populate select field

  • I am using ACF and using this article ( as is to populate select list options using textarea content (in options page), but select list does not populate with dynamic values.

    -I have a Options page named ‘Global’ with a field called ‘my_select_values’ textarea with following information:
    -I have created a field group called ‘staff-fields’ and it has a field named ‘color’ as select field.
    -I have put the code from this link ( as is on functions.php
    -I have attached ‘staff-fields’ to staff custom post type, but under field color I do not see Red, Green & Blue in the dropdown list.

    Not sure what am I missing? Any help is highly appreciated.


    • Elliot

    • August 13, 2013 at 2:49 pm

    Hi @shuklasanjeev

    At this stage, I am unsure why it ‘isn’t working’, but to do so, we will need to debug the issue.

    Can you debug the functions and find out if they are running?

    Also, can you post the code you are using?


Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Unable to dynamically populate select field’ is closed to new replies.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.