I cannot make this work with entity reference the way i need it.
I have conditional fields working. However, right now i need the conditional fields to read based on dynamic values using entity reference.

I have a content type "Artist", a content type "Album" and a content type "Song".
I created content type "Music Video" and added "Artist", "Album" and "Song" content types as entity reference fields.

When adding a new video, i want to select "Artist" and then the "Album" field comes up using conditional fields but have it display only Albums related to that artist. Then, when album is selected, have a dropdown showing the "Songs" of only that album.

Does this make sense? As user selects, artist, album and song the fields show up but filtering options based on the previously selected entity reference field.

Is there a way to do this already? If not, then i guess this is a feature request.

Comments

dqd’s picture

Title: Integration with Entity Reference? » How does work Conditional fields with Entity Reference?
Category: Feature request » Support request
Priority: Critical » Normal
Issue summary: View changes
Status: Active » Closed (outdated)

Entity references are supported and this can be achieved with "has value.." from a first glimpse out of my head. Apart from that:

Thanks 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.