I have a select list field as dependee (field_a with options A, B, and C; value A is default) and a text field as dependent (field_b). I want field_b to be visible only when field_a has value B. That does work when I change the value of field_a in the node edit form, but it doesn't when the node edit form is loaded (with default value A for field_a).

To be clear, expected behaviour after loading the node edit form would be:

  • field_a has value A and is visible
  • field_b is hidden

But it is:

  • field_a has value A and is visible
  • field_b is visible

Comments

yan created an issue. See original summary.

fictionking88’s picture

Having the same issue

yan’s picture

Any ideas?

giupenni’s picture

Same issue

giupenni’s picture

Any news?

dqd’s picture

Version: 7.x-3.0-alpha2 » 7.x-3.x-dev
Status: Active » Closed (outdated)

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