I have a workaround for this. Check it here: Taxonomy Term – “Show this field group if” not applying
Hope this helps.
Thanks ajoen – although what you’re experiencing is slightly different. The conditional logic you’re dealing with is to do with what objects a group of custom fields is attached to. I believe what we’re dealing with is conditional display of fields – i.e. if Field X has value of Y, show Field Z. 🙂
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.
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.
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
Helping others is a great way to earn karma, gain badges and help ACF development!