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

geek-merlin’s picture

please 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.

yched’s picture

Status: Active » Closed (works as designed)

This doesn't seem intended for the field_collection module.
http://drupal.org/project/conditional_fields maybe ?

Closing for now.

geek-merlin’s picture

Project: Field collection » Conditional Fields
Version: 7.x-1.x-dev » 7.x-3.x-dev
Status: Closed (works as designed) » Active

oops...

peterpoe’s picture

Status: Active » Fixed

Current dev version already supports multiple values with OR: just select the "Any of these values..." Value option when editing a dependency.

Status: Fixed » Closed (fixed)

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

kbk’s picture

Status: Closed (fixed) » Active

Are there plans for a port of OR-ing to D6? Thanks for your work on this module.

peterpoe’s picture

Issue summary: View changes
Status: Active » Fixed

Closing very old and not longer relevant issues.

Status: Fixed » Closed (fixed)

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