Home › Forums › ACF PRO › Can't use conditional fields after last update. › Reply To: Can't use conditional fields after last update.
Hello
In my application, I am using a custom field of type radio and putting the values as follows: (red: <img src='http://www.site.com/red.gif' />
) thus my user can choose an image and not text, easing administration. This works OK.
The problem is that I want other fields are conditional on this. When I select another field is conditional and select this radio, the options do not appear, this because the ACF seeks the legend and not the value of the radio.
Example:
Type: Radio;
Name: color;
Values (
red: <img src='http://www.site.com/red.gif' />
green: <img src='http://www.site.com/green.gif' />
blue: <img src='http://www.site.com/blue.gif' />
)
Type: Text;
Name: Title-Box;
Conditional: (
When color == green
)
I believe that the whole problem is to be using an html image where it should be text only. However I think the plugin should fetch the value of the radio and not the label.
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.