Download & Extend

Failure when controlled field has multiple or unlimited-values

Project:Conditional Fields
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

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.

#2

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

#3

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.

#4

Status:fixed» closed (fixed)

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

nobody click here