The Wufoo Blog

Good King Wenceslaus! Wufoo Now Has
Conditional Logic and Branching!

By Kevin Hale · March 9th, 2010

For many of you out there in Wufoo land, it’s been a long time coming, but Wufoo now has the ability to create forms with conditional logic and branching! Now you can make your forms both sexy and smart. To make the magic happen, we created a new tool in Wufoo called the Rule Builder, which will act as the command center for all the logic you’ll add to your forms. Here’s Tim, our favorite baritone screencaster, with a review of the new interface:

Rule Builder Screencast

The Rule Builder is what will allow you to create dynamic forms based on logic you’ve designed to perform certain actions like showing and hiding fields, skipping certain pages or emailing specific individuals based on the selections the user makes while filling out your Wufoo forms.

Rules!

Understanding and creating rules is really easy in Wufoo. First of all, there’s no programming knowledge necessary. Our Rule Builder was designed to make adding and understanding the logic you want to apply to your forms as easy as creating simple sentences. If you’ve ever created rules for your email, then you’ll be really comfortable with our interface.

The Condition is made up of a Subject, Comparison and Value

To get to the Rule Builder click on the Rules link under the form’s name in the Form Manager. Once there, you can create three different types of rules: Field Rules, Page Rules and Form Rules). These rules are separated for your convenience and can be accessed by tabs located at the top of the Rule Builder. Each rule type performs different actions based on conditions you’ve created for evaluating the input entered by your users.

Field Rules

Field Rules let you perform two actions if a condition is true. You can either SHOW a field to the user or HIDE a field from the user based on the value of another field. One thing that’s nice about these rules, is that the actions can happen in real time as the user is filling out the form.

Field Rules

Watch a Video Tutorial About Using Field Rules

You can even SHOW and HIDE Section Breaks and File Upload fields, which is useful for displaying extended instructions for how to fill out your form or selectively asking for files from your users.

Page Rules

Page Rules allow you to skip pages, skip payment or go straight to the confirmation page based on conditions you’ve created. With page rules, you’ll be able to create a custom path for your users ensuring they only see pages relevant to them during their form submission process.

Page Rules

Watch a Video Tutorial About Using Page Rules

If you have users who want to choose to pay by check or invoice, you can now easily create a checkbox in Wufoo to base a condition off of and then set a page rule to simply skip the payment page if it’s checked.

Form Rules

Form Rules let you take certains actions after your form’s been submitted. Form rules give you the flexibility to choose where your users should go after they submit your form. Form rules will override the default confirmation behavior and show a custom message based on the data they submitted or redirect them to a more relevant web page based on your conditions.

Forms Rules

Watch a Video Tutorial About Using Form Rules

You can also create smarter notification emails with form rules. For example, you can send a notification email to sales or customer service depending on the selection the user set in a drop down field in your contact form.

Availability

If you are on a Free account, you can create Field Rules and Page Rules. Form Rules, however, are only available to Paid plans. Free accounts are also limited to creating only 3 rules total for each form (across Field and Page rules). You can see the number of rules you have left at the bottom of the Rule Builder. If you are on a Paid plan, you can create 50 field rules, 50 page rules and 50 form rules.

It’s taken us a long time to come up with an interface experience we felt was worthy of the Wufoo seal of approval and so we hope you’ll enjoy all the details we’ve put into the Rule Builder. Many thanks go out to Alex and Ryan for putting in countless hours testing and debugging the system through an impossible number of oddball scenarios. It’s because of their due diligence that we can now increase the IQ of our Wufoo forms. We’re really proud of these new features and hope to show off some of the unique properties of our logic and branching system over the coming weeks.

This entry was posted 4 years ago and was filed under News & Updates. Comments are currently closed.

Comments

  1. Sweeeeeeeet! This is fantastic guys, keep up the good work. I’ll be able to create some pretty fancy forms now.

    Posted 4 years ago by Owen Anderson.
  2. You guys seriously do rock! What would the world do without wufoo!

    Posted 4 years ago by The Pro Designer.
  3. Wow! I’m speechless. This is awesome. Well done. Well done indeed.

    Posted 4 years ago by Galen.
  4. This is great!

    Posted 4 years ago by AndrX.
  5. Absolutely brilliant! One question though - is it possible to send a user a specific auto response email based on their field selections? For example, if someone selects that they drive a BMW I want to send them a BMW specific auto response email and if they select Jeep I want to send them a different auto response email that is Jeep specific. Does this make sense and can it be done?

    Posted 4 years ago by Dane Spear.
  6. Dane, this makes a lot of sense. It’s a feature we’ve discussed and would like to add as one of our rules. We’ll be keeping you updated on our blog whenever we add new features to the Rule Builder.

    Posted 4 years ago by Alex Vazquez.
  7. Do you have an example form that you created?

    Posted 4 years ago by Luke.
  8. Excellent! Thank you!

    Posted 4 years ago by Johnson.
  9. Luke, we’re working on a special one to showcase some of the features. It’ll be fun when it goes out!

    Posted 4 years ago by Kevin Hale.
  10. I’m such a geek!! I was so excited about this, I shared the news with a colleague and she stared at me as if I was picking lint out of my navel. Oh well, you’ve made my day.

    Posted 4 years ago by Craig.
  11. Oh Yea! Awesome - Thx guys

    Posted 4 years ago by Cmac.
  12. Great Stuff. I was on trial, not anymore!

    Posted 4 years ago by AJagan Tirvengadum.
  13. Is there a way to add multiple products? For instance, If the user selects “would you like to configure another product” a set of specific questions come out, and they can do this numerous times?

    Posted 4 years ago by Dave Ruiz.
  14. Awesome feature!

    Posted 4 years ago by Matt.
  15. Dave, I think what you are referring to is not logic and branching, but recurring sets of fields or a way to sort of embed one form into another form. This isn’t possible in Wufoo and is not something we have planned anytime soon. In fact, I think it be something that we feel outside the scope of what we have planned for Wufoo and better suited for a dedicated application.

    Posted 4 years ago by Kevin Hale.
  16. This… IS… AWESOME. I was already sold on Wufoo, but now I will have the ability to do some things I was using workarounds and human hours outside Wufoo to accomplish. And I am doing this for a small non-profit aimed at raising funds to fight Lou Gehrig’s disease - this will make us (and me) far more effective and efficient with our very limited 100% volunteer work time (including my time).

    So this will make a real difference in our real world efforts to fight this disease - I’m almost emotional about this right now.

    I hope to implement this this weekend… Thank you from all of us at Ann Arbor Active Against ALS. We couldn’t do much of what we do without your help…. thank you thank you thank you…

    Posted 4 years ago by Joel.
  17. Thank you!! I have very excited about the new rules feature! I can finally totally get rid of the “other” form program that I use just for my forms that have conditional formatting. I have been so pleased with Wufoo and the continuous improvements that are made to the services. Great work!

    Posted 4 years ago by Genie Skinner.
  18. Awesome job guys. Big thanks.

    Posted 4 years ago by Giovanny Gutierrez.
  19. You had me at hello and now conditional logic!? Wufoo, you continue to impress. How about a round of applause! Wuhooo Wufoo!

    Posted 4 years ago by JB.
  20. Sweet. Been waiting for this.

    Posted 4 years ago by Jim.
  21. Incredible!!! I love Wufoo but i have used formspring for the condionla logic. I come back to wufoo!!!

    Posted 4 years ago by nicola coonvertini.
  22. WOW! You guys rock! ….and Tim, love the voice! If i could i would make a special trip to hug you all!

    Posted 4 years ago by Liza.
  23. Liza, thanks for the complement. This round of videos was particularly gruff sounding because I had strep throat, so you may want to hold off on my infectious hug.

    Posted 4 years ago by Tim Sabat.
  24. Is it dorky that I am totally thrilled about this?

    Posted 4 years ago by Lisa.
  25. I can’t believe it! Wufoo really IS the best form builder on the planet. Congratulations, Wufoo; you just beat out FormSite, FormSpring, SurveyGizmo, and SurveyMonkey.

    Posted 4 years ago by Michael.
  26. This really is a terrific feature! I was already impressed with Wufoo (and telling other organizations to use it) but now I’ll get fanatical. Thanks for all the work!

    Posted 4 years ago by David.
  27. Amazing.

    Posted 4 years ago by CJ.
  28. I want to hug you guys!

    Posted 4 years ago by Jeff.
  29. Yay! Yet another reason to keep staying with you guys. Just keeps getting better! Thanks for this. Can’t wait to tell my clients!

    Posted 4 years ago by Alaia.
  30. Absolutely awesome guys! I love the fact that you’re always working to make Wufoo more powerful. I can’t always do exactly what I want, but I know it’s not static and new features are always right around the corners. Thank you!

    Posted 4 years ago by Christopher Jones.
  31. Wuffoo is without question the best tool I’ve ever come across. Your website and of course the forms themselves are so well done and intuitive. It makes me wish the rest of the web was like this.

    And the new logic for the forms is EXACTLY what I was hoping you guys would provide one day. Well today, my wish was granted!! THANK YOU SO MUCH WUFOO STAFF!!!!

    You guys are an amazing company and the web would be a sloppy place without you.

    Posted 4 years ago by Bryan Spearman.
  32. About freaking time. Great job guys. This helps me in SO MANY WAYS.

    Posted 4 years ago by Ray.
  33. Great stuff guys!

    Is there a way to use it to alter or add a price field?

    For example, add a “convenience fee” if paying by credit card…

    Posted 4 years ago by Mark Z.
  34. Mark, hidden fields aren’t factored into the price equation. So, you could create a Convenience Fee (checkbox, required so that the user can’t edit it) field with a default value of checked. Then, set up a rule to have it show only if payment type is credit. When the user selects credit from the drop down, the fee will be added to the equation. Otherwise, when hidden, it will be ignored.

    Posted 4 years ago by Ryan Campbell.
  35. Very excited about this! Thanks! :D

    Posted 4 years ago by Gwen.
  36. I have created my first two forms using RULES! Woo Hoo! This is terrific! This has opened a whole new dimension of possibilities, and much easier to use than the conditional formatting in other form programs. THANK YOU!

    Posted 4 years ago by Genie Skinner.
  37. omg… great development guys!

    Posted 4 years ago by Tim.
  38. I Second Dane’s query. Very important for the way we use your forms. This is such a great feature, I jumped out of my chair when I logged in and saw it.

    2 points RE this - currently a real hassle to format the notification - I have to inline html and hand code the notification email. Can this be a WYSIWYG editor process? or at least accept the formatting from a copy and pasted word document?

    Second - for numbers you have greater than, equal to, less than. Can we have >or=to and <or=to?

    Also nice would be the ability to reference other fields ie “is field A greater than Field B?” if so send email C.

    a sneaky third point: what about multiple clauses for one outcome? ie if A AND B AND C are greater than X, then email C?

    Regardless I have to say you are developing all the features I want without me having to tell you. Ridiculously impressed with your services. ;-)

    Absolutely brilliant! One question though - is it possible to send a user a specific auto response email based on their field selections? Posted 6 days ago by Dane Spear.

    Posted 4 years ago by Matalin Hatchard.
  39. weird. I tried to quote an earlier comment using “>” and odd formatting got applied.

    Posted 4 years ago by Matalin Hatchard.
  40. i want to cry…good job guys!

    Posted 4 years ago by Jorge.
  41. Awesome very excited to use it. Keep up the great work!!! I am grateful you are always trying to make Wufoo better! Keep on innovating!

    Posted 4 years ago by Jeff.
  42. Everyone needs a hug. thanks for sharenice i like them

    Posted 4 years ago by serena123.
  43. Is it possible to show multiple textboxes based on a rule.

    Example.

    [ ] Individual [ ] Foursome

    I want to show 3 text fields if [x] Foursome is checked.

    Name 2: [ ] Name 3: [ ] Name 4: [ ]

    Currently I can set it up, but only Name 2: shows up.

    Awesome work guys!

    Posted 4 years ago by Joel Fisher.
  44. This is awesome work! I am speechless!

    We use Wufoo for online quizzes. Does anyone know if it is possible to set a correct answer to the questions and then view a report of all the people how took the quiz show how many got each question correct? It would also be cool to auto-grade these quizzes.

    I can see where this would be useful for surveys as well. Good job guys!!

    Posted 4 years ago by InterLingo.
  45. Extraordinaire. Bravo.

    Posted 4 years ago by antoine.
  46. Astounding!

    Posted 3 years ago by Zack.
  47. So late to the party, but really glad to be here.

    I love Wufoo.

    Posted 3 years ago by David Russell.
  48. I love you man

    Posted 3 years ago by Carlos.
  49. Is there a way to have only people who select “Pay by Credit Card” taken to the paypal site, while those who chose “Pay by Check” are just taken to a confirmation page?

    Posted 3 years ago by Nina.
  50. Everyone needs a hug.

    Posted 3 years ago by Nina.
  51. Hi Nina, you can do that. Check out more information about that here:

    http://wufoo.com/docs/rule-builder/#payByCheck

    Posted 3 years ago by Andrew Gosnell.
  52. Excellent! I’d been hoping for field/page/form-based rules since signing on with Wufoo.

    Eventually, I may have a need to create Wufoo forms with data-dependency rules (e.g. If listbox1 = “Acura” Then listbox2 = [“RL”;”TL”;”RSX”;”TSX”;”Legend”]. Hopefully, this type of conditional logic will be supported for large datasets.

    Keep up the good work!

    Posted 3 years ago by Noel.
  53. I can’t get the video to work.

    Anyone else having trouble with the video? Is the video somewhere other than the vzaar site which isn’t working for me?

    Posted 3 years ago by John.
  • Search

  • About

    The Wufoo Blog is the official online publication written by the developers of Wufoo about their online form builder, form-related technologies, and whatever else may fit their fancy—like robots.

  • Archives