I have a content type with several conditional groups and fields. My problem is that any required field that is controlled, whether directly or under a group, is being invalidated ("!name field is required" error message after submit) even though a value has been entered. I cloned the 6.x-2.x branch from git yesterday, so I know I'm up to date. I also know it's not field-specific because it's happening on both CCK fields and Location fields. Anyone have some hints?

Comments

xaqrox’s picture

Title: Required fields filled but but not validated. » Calls to hook_content_is_empty should provide single item as first argument.
Status: Active » Closed (duplicate)

After some digging I found this problem to be the result of some changes introduced in response to #927558: Use hook_content_is_empty to determine if a required controlled field is empty.. I posted a patch on that issue that fixed this, find it here: http://drupal.org/node/927558#comment-5737736