If this is already possible, then I apologize, but I have been unable to find documentation, comments, or solutions for doing anything like this.
I have 2 content types (simplified for example):
Type A
- Name
- Node Ref (>> Type B)
- Some FieldType B
- Name
- Type (Select List; Values: TypeA, TypeB, TypeC)
What I'd like to do is make Type A's "Some Field" visible if the node of Type B (set in Type A's "Node Ref" field) has a "Type" value of "TypeC". Currently, I see how I can conditionally display Type A's "Some Field" if the "Node Ref" field points to a particular instance of Type B, but I don't care which instance it is. I only care if the instance of Type B that is referenced has a value of "TypeC" on it's "Type" field.
NID 1 (Type A)
- Name: "Some name"
- Node Ref: NID 2
- Some Field: "Blah blah blah" <<-- Hide this if NID 2 has Type set to "TypeC", as shownNID 2 (Type B)
- Name: "Some other name"
- Type: "TypeC" <<-- This is the value that is checked to hide NID 1 (Type A) Some Field
I hope that makes sense.
Does anyone know how to do this a) with Conditional Fields or b) with another module or custom module technique? If not, I think this would make a great new feature, if it is possible.
Thanks! :)
Comments
Comment #1
dqdThanks for the report and all the efforts in here. But due to inactivity in this issue for years and because of the upcoming EOL of Drupal 7, I will close this issue on th way cleaning up the issue queue.
Feel free to re-open as "Needs review" if you found a solution or have a patch to be reported to help others.