Home › Forums › General Issues › Output Select label, based on page parent ID › Reply To: Output Select label, based on page parent ID
Should code block 2 be
$value = get_field('color_scheme_color');
rather than
$value = get_field('color_scheme_name');
? Just looking at your field setup in block 3, it looks like you’re setting the field choices to ‘color_scheme_color’ = ‘color_scheme_name’.
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.