Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I created a field collection
I added fields to the collection
I used a conditional in the collection
there is no effect on the view page
conditional fields - 2011-Sep-12
field collection - 2012-Feb-20
Comments
Comment #1
valderama CreditAttribution: valderama commentedMaybe you should try this alternative module, which does a very similar thing is ready for Drupal 7:
http://drupal.org/project/field-conditional-state
Comment #2
peterpoe CreditAttribution: peterpoe commentedMy testing setup works with field collection.
Could you please provide more information on your configuration?
Comment #3
miiimoooThe field collection works when the condition is "has value" and I give all the options (or a regular expression).
But using "filled" or "checked" don't seem to do anyhthing.
My dependee and dependant fields are Term/reference/Check box
As a workaround "has value" with a regular expression of "\d+" are okay I guess
UPDATE: But the workaround doesn't work if the dependant field is set to "Unlimited". If it's a single value it works okay.
Comment #4
kenorb CreditAttribution: kenorb commented#1648128: field collections within other field collections do not function when set as dependents