Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have the dependee Categories. I want when users click on Category term - cars, another taxonomy collapses to show "types of cars." Yet when user goes on node edit form with no Categories selected, the dependent "types of cars" still show and isn't hidden. How can this be fixed?
Comments
Comment #1
peterpoe CreditAttribution: peterpoe commentedCould you provide more information on your configuration please? I couldn't reproduce your problem but probably I don't understand exactly what you mean.
Comment #2
tobykilroy CreditAttribution: tobykilroy commentedI'm having the same problem.
I have a checkbox called Show Author with another field underneath called Author Image (image), I have set the following dependancy up:
Dependee: field_author_image
Dependant: field_show_author_box
Desc: field_author_image is visible when field_show_author_box is checked.
When creating new content the field_author_image box is visible, checking the field_show_author_box checkbox does nothing and generates no JS errors.
Thanks
Comment #3
tobykilroy CreditAttribution: tobykilroy commentedUPDATE: I have got around this problem by using the "has value" option
Comment #4
dqdAs #3 comments, this is caused by wrong set up. 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 cleaning up the issue queue.
Feel free to re-open as "Needs review" if you found another solution or have a patch to be reported to help others.