It would be useful to be able to select as a dependant for a field collection item a field from the parent entity.
e.g. In a node you could show/hide a field collection item (not the whole field collection) based on a checkbox on the node.
It would be useful to be able to select as a dependant for a field collection item a field from the parent entity.
e.g. In a node you could show/hide a field collection item (not the whole field collection) based on a checkbox on the node.
Comments
Comment #1
jamescl commentedActually thinking about it, this should be the other way round and isn't necessarily about field collection, but about having the field child/component available as dependent/dependee
This could be end date or duration from date, a title or url from a link, a field collection item from a field collection or any component part of a field.
Comment #2
dqdThanks for the report and all the efforts in here. But due to inactivity in this issue for some years and because of the upcoming EOL of Drupal 7, I will close this issue on the way by 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 on this outdated version.
If you think this issue or missing feature should be addressed in a newer Drupal core 8 and above compatible version of this project, then please file a new issue to the latest dev.
A hint for those coming here: in Drupal 8 and above we have extended manage display view mode displays a lot, which can be choosen in a reference. To achieve the requested of this issue you can set up 2 references of the same parent or related but with 2 different view mode displays where one has this field missing you want to hide. Now you can create a condition to show only one of both references. Viola.