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've got a list (Y/N) and a textfield. If set to Y, textfield is visible, otherwise it is hidden.
This works fine in the edit pages. I'd rather not display this list on the rendered node since it is really just a editing option. The problem occurs when the node is rendered. If the dependee is set to hidden under "manage display", the dependant textfield does not follow the expected behaviour. When the dependee is set to display, it works fine.
Is this expected behaviour or a bug?
Comments
Comment #1
ShaneOnABike CreditAttribution: ShaneOnABike commentedThis was slightly confusing for me as well. I wonder if it couldn't add another checkbox that allows to ignore this check. Also maybe we could add some documentation since it's not apparent and I thought the module wasn't working :/
Comment #2
abarpetia CreditAttribution: abarpetia as a volunteer commentedFacing the same issue. I am also using one Dependee field to hide/visible field but I don't want to display this field on page. If I hide this dependee field from field display my dependent field is also not showing.
Can anyone found a work around?