Earlier this week, Alex released a great update to our new [Rule Builder](http://www.wufoo.com/2010/03/09/good-king-wenceslaus-wufoo-now-has-conditional-logic-and-branching/) to help you get more out of the rules you guys have been furiously adding to your Wufoo forms. The new feature allows you to add multiple conditions per rule, which means you can now use **AND/OR** operators to condense what used to take multiple rules for the same action into one single rule. I know that’s a mouthful so, here’s our own Timmy with a screencast demoing the Multiple Conditions feature:
To add another condition to an existing rule, just click on the gray + button to the right of the first condition. This will add a [logical operator](http://en.wikipedia.org/wiki/Logical_operation) dropdown with the ability to state whether the rule requires all of the conditions to be true (AND) or at least one of the conditions to be true (OR) before the action will be executed. When in doubt, just read the rule as if it were a sentence to help you understand what Wufoo will do with the rule.
Please note that when you change the operator between **AND** and **OR** on a rule with more than two conditions that we will change all of the operators associated within that rule to match that selection. Either all of the conditions have to be connected with **AND**s or all are evaluated as **OR**s. You can’t mix and match those operators within a single rule. When you play around with it, you’ll see what we mean. Different rules, however, can use different logical operators.
The multiple conditions can be use on any rule type. That means you can now optimize and condense the show and hide actions in Field Rules, the skipping actions in Page Rules and also the routing actions in Form Rules. Now you can get more out of the Rule Builder with a lot less interface clutter.
The ability to add multiple conditions for your rules is limited to 50 conditions per rule and is availble to all users on all plans. We’re really excited this latest update and hope it helps you create even smarter forms in Wufoo!
Commencing happy dance.Posted May 20th, 2010 by Mark.
This is way cool. I have 3 sites that I use wufoo forms on, and plenty of sites where I have not, simply because of the lack of ability to create rules. Good going wufoo!Posted May 20th, 2010 by Stuart Draper.
un abrazo para ti!Posted May 20th, 2010 by jason.
TOTALLY COOL!Posted May 20th, 2010 by Frank.
YES!!! Exactly what we needed. I guess you guys must have listened in on our last staff meeting 😛Posted May 20th, 2010 by Tabatha.
Can I use this to setup different email contacts depending on the department they’ve selected in a drop down for a contact form?Posted May 20th, 2010 by T-Bird.
@T-Bird, yes you’ve actually been able to do so for sometime now.Posted May 20th, 2010 by Donovan.
@Donovan, cool, does this involve rules, or is there another method?Posted May 20th, 2010 by T-Bird.
@T-Bird Yes, it involves the send email option in Form Rules:Posted May 20th, 2010 by Andrew Gosnell.
Is there any way to access form rules data via the API?Posted May 20th, 2010 by Jessica.
Hi Jessica, I’m afraid it’s not possible to manipulate rules with the API.Posted May 20th, 2010 by Kevin Hale.
Is there a way to do the inverse of this? Namely, can I multiple fields appear when a certain response is selected? For example, I’m trying to ask how many people something applies to. What I’d like to have happen is that if the answer selected is “2,” two name fields would show up. When it’s “3,” three name fields, etc. This looks to me like the inverse of what we have here, because instead of having multiple conditions on the question, I’m asking if there can be multiple fields show up on the answer.Posted May 20th, 2010 by Joe Incandela.