I am not sure what the issue here is, but it is not working for me. I am trying to set up user controlled privacy settings so for instance i have a field called birthdate (date) and then I created another field called birthdate privacy (boolean checkbox) I set the dependant to birthdate and the dependee to birtday privacy where when the birthday privacy is checked the field should be invisible. I check the node and it still shows up.

I saw in the issues that there was a bug with the date field (just my luck to try with the first thing that doesnt work) so i changed the dependent to a text field with the same settings as above, but the text field still shows up as well. I don't know what could be going on at this point.

The display is using panels node template to show the node's fields

Comments

jweirather’s picture

Issue summary: View changes

Was there ever any good solution for this? I'll be facing this issue soon and am trying to look at options.

Thanks!

xbrianx’s picture

Not that I am aware of yet.. I haven't checked if there was any updates or anything since posting.

silvi.addweb’s picture

Try conditional field settings like;

"birthday privacy has checked then birthday invisible." and check if it works.

Thanks!

jweirather’s picture

I am now working on a new version of my site, and in a new install of D7, and my dependent fields appear to be working properly. In fact, these conditional fields are even working within Panels and even inside of Inline Entity Forms (IEF) contained inside of panels. I don't know if my problem was that something was broken, misconfigured, or if I just didn't understand the best way to set up the dependencies. In any event, it's working now.

With regard to your case @xbrianx, I am doing something similar: selecting a boolean checkbox reveals additional fields. I set mine to evaluate the dependee checkbox for a specific value ("1") -- instead of whether the box was checked. This is working as expected for me.