I had dependency like this:
If field A has an empty value, make field B optional

And this dependency made my B field invisible at the node view.
As i see if the state change is not visible or !visible, conditional_fields_evaluate_dependency() should return TRUE in view mode. Maybe i did not take care of all the aspects (OR / AND relations), but the direction seems to be appropiate for me.

CommentFileSizeAuthor
conditional_fields_view_visible.patch759 bytesaron novak

Comments

peterpoe’s picture

Status: Needs review » Closed (works as designed)

If you don't want to hide an untriggered dependency on node view, just uncheck the option: "Hide the dependent if the dependency is not triggered" under the "Node view settings" tab at the bottom of the dependency settings form.