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.
use case:
[ ] i have a dog (bool)
[ ] i have a cat (bool)
what do you feed your pet with? _________
(textfield, enabled if dog OR cat)
#############################
the ui already lets me state a condition
* feedertext enabled IF dog
* feedertext enabled IF cat
but it seems that only the first rule rules.
Comments
Comment #1
geek-merlinplease note that the issue is NOT about building a formula editor which can do anything a la rules.module (although this might be an interesting but separate issue).
@peem83, if you point me to the "hot spot of code" for this, i might give a hand.
Comment #2
yched CreditAttribution: yched commentedThis doesn't seem intended for the field_collection module.
http://drupal.org/project/conditional_fields maybe ?
Closing for now.
Comment #3
geek-merlinoops...
Comment #4
peterpoe CreditAttribution: peterpoe commentedCurrent dev version already supports multiple values with OR: just select the "Any of these values..." Value option when editing a dependency.
Comment #6
kbk CreditAttribution: kbk commentedAre there plans for a port of OR-ing to D6? Thanks for your work on this module.
Comment #7
peterpoe CreditAttribution: peterpoe as a volunteer commentedClosing very old and not longer relevant issues.