Understanding Conditional Logic
Create a clean form by showing and hiding certain
questions based on other answers.
In this video I will show you how to use multiple rules of conditional logic to show and hide fields on a form. In this example we have an event registration form that we are going to display payment information if YES is selected to either speaker number one or speaker number two, and also give the option to join a newsletter if both speakers are selected. The first step is to click on the payment information section. Click on LOGIC, and use conditional logic. Here we're going to choose to show this field if speaker number one is set to YES. Our first rule is already set for us. To add a second rule to the field, click on the green plus sign. Here we will want to adjust it by selecting the speaker number two field. This one we’ll also want set to YES. The change we want to make is, right now it's set to show the section if ALL of the following match. We'd like to display the section if either one has been chosen. So click on the ALL, and change this to ANY. Now we’ll click SAVE to save the changes, and scroll down to join our newsletter. We’ll click on this section and go to LOGIC. Click on use conditional logic, and here we have the first one set to what we want. Speaker number one is YES. Click on the green plus sign, and change the second one to speaker number two is YES as well. This one is set to exactly how we’d like. Because we want if speaker number one is YES and speaker number two is YES, then we'll give the option to join our newsletter. Click SAVE to save the changes, and now we can preview our form by clicking on the small icon of an eye. Here both sections are missing because we have not made a choice on our form. If we choose NO on either one, none of them show because we have left this option out of our conditional logic. If we click YES to one, the payment information displays as we expect. If we click YES to both, we are now given the option to also join the newsletter.comments powered by Disqus