CF works as expected when a radio button is used to hide/reveal a required Node Reference field when "Number of values" = 1, but the Node Reference field is always required (even if hidden) if the "Number of values" is set to 2 or more, including the Unlimited setting.

Comments

charlie-s’s picture

This seems to be the case with any field that can have more than 1 entry and doesn't appear (to me) to be module specific, i.e. node reference or field collection or w/e.

kbk’s picture

Title: Failure when controlled field is multiple or unlimited-value node reference » Failure when controlled field has multiple or unlimited-values
Component: Compatibility w/ other modules » Code

changing title to represent comment #1

peterpoe’s picture

Version: 6.x-2.0-beta2 » 6.x-2.x-dev
Status: Active » Fixed

This was fixed as a side effect of a recent overhaul of required fields checking: #927558: Use hook_content_is_empty to determine if a required controlled field is empty.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.