My problem is :
I have created a "Field Collection" field in the "Profile 2" module, and add a dependence ... but, doesn't work...
(there is a screenshot of my problem)
| Comment | File | Size | Author |
|---|---|---|---|
| Capture d’écran 2012-03-19 à 12.50.30.png | 47.12 KB | Moino |
Comments
Comment #1
Fanaile commentedI'm having the same issue. I'm using Profile2 and Profile2Reg Path so that people can choose to sign up an individual account or a club account for sports; When they choose individual, they get the choice between signing up as, say, player, coach, umpire etc. And there is a field collection for "Players" to fill out that should be hidden when they are signing up as something else, but I can't get it to hide.
It is working with other fields on the profiles, just not the field collection.
I did try the fix posted here, and that did work for some of the other issues I was having with dependencies inside the field collection that were not saving; but now I need the entire field collection to hide pending the value of the widget before.
Comment #2
henryk805 commentedI am having the same problem. In Profile2, conditional fields work for single fields, but not for field_collections. In regular nodes, it works just fine. Any help would be greatly appreciated.
Comment #3
mahyarsbt commentedsubscribing
I have same problem with field collection / field group on profile 2
please help
Comment #4
mrded commentedWe use Profile2 (7.x-1.3) with Field Collection (7.x-1.0-beta5), and it works perfect!
Comment #5
katski commentedHey - I've just hit this issue and was wondering if anyone found a fix. I've tried using an older version of field coll (beta5) as mentioned by mrded but no joy.
Comment #6
david.qdoscc commentedI'm also having this problem. Has anyone found a workaround yet?
Comment #7
StG commentedThis issue is still there... I found an almost working patch: https://www.drupal.org/project/conditional_fields/issues/1440822#comment... I copy-pasted the code because
conditional_fields_element_after_build($element, &$form_state)function changed since then. This works on profile creating but when I edit an existing profile the state of the dependee doesn't make any difference.