The Conditional Logic Guide: Step by Step


by 123FormBuilder

You may wonder what conditional logic forms are, and if that’s the case, this guide will definitely come in handy for increasing the quality of your interactive forms.

Conditional logic, most commonly known as form rules or logic jump, is a feature that allows you to do a specific action based on certain behavior of the form visitor. What does that mean? Well, the most common scenario is to show or hide certain parts of the form when the user selects certain options. So, why is that important and how can conditional rules be effectively used by your business? They have a series of applications that you should take advantage of in order to improve your visitors’ journey through your website.

What Makes Conditional Logic Forms so Wonderful?

Rules’ core benefit is that they allow you to tailor the behavior of your online form depending on the input provided by your visitors. Depending on your respondents’ answers, you can either show or hide fields, skip pages, send different confirmation messages after submission and even redirect them to specific web pages. In other words, rules make your form smart and more interactive. They give you the possibility of tailoring your users’ experience with your online forms.

What Kind of Conditional Rules can I Use?

As you’ve probably already realized, there are three types of conditional rules:

Field Rules → they selectively show or hide certain fields in real time, based on user input.

Useful tip: use these rules to make your form shorter when some questions depend on the confirmation of previous ones. They will avoid showing irrelevant form fields to your visitor, increasing your completion rate.

Autoresponder Rules → also known as Confirmation Rules, these rules apply after the form has been submitted, allowing you to trigger specific autoresponders to each form, or avoid sending autoresponders at all.

Useful tip: use these rules to send tailored messages via email to your visitors after they completed your form. It can be particularly useful when sending a summary of an online order.

Form Rules → after the form has been submitted, they redirect your visitors to a particular web page provided by you, when certain conditions are met.

Useful tip: you can use them to send users to a particular section of your website when they’ve shown particular interest in that with their answers, or to the specific URL that they should follow next in a multi-step process.

How to Set Field Rules?

Let’s imagine a simple scenario, where you are the owner of a restaurant and you are taking online orders. In addition to pizza, you also offer pasta and salads. So let’s give your customers the possibility of choosing one of the above. Start by adding a standard multiple-choice field to your form, and add all the meal options to it:

conditional logic forms

Now, to provide specific options in each case, we will add 3 other multiple-choice fields (one for each of our categories) asking what pizza, pasta or salad would our visitor like.

We will set up a conditional statement that will show these fields when their respective category is selected. So we go to our Settings tab, and from the Rules section we configure the rule as follows:

conditional logic forms

As people usually prefer adding extra ingredients to their pizza, you can give them that option as well by adding a ‘Text Box’ field, and naming it “Extra Condiments”. After you added the field to your form and made sure it’s placed where you want it, go back to Rules, and set up a rule like this:

conditional logic forms

The reason we structured our rule with OR instead of AND, is because we want the Extra field to show up when any of the pizza types is selected. Using AND would imply showing the Extra field only when Margherita and Napolitana are both selected at the same time.

Voilà! Your form is ready to go, and it will only show your customers different pizza options when they specifically want to order pizzas! 

You can apply this logic in many other ways and use rules to show your customers different colors of a selected item, further questions about a certain topic in a survey, and many other things to obtain an interactive form that will get you noticed.

How to Set Autoresponder Rules?

To use autoresponder rules you’ll first need to create your autoresponder.

For that purpose go to Settings → Notifications → Form User (Sender) tab. There you will be able to customize variables as the email subject line and the sender’s email.

conditional logic forms

Click Customize Create Autoresponder create and add content to your autoresponder. Save it, close the lightbox and click the green save button again.

Then you can click the blue Advanced Confirmation Rules link, or alternatively go back to  Settings → Rules → Autoresponders Rules and select the autoresponder you’ve just built.

Useful Tip: in order to create custom autoresponders, you’ll have to ask for an email address, and make that field mandatory.

For this case, we’ve built an order summary. This way, the person who completes the form can see a confirmation of the food items they’ve just ordered.

That’s it! The next person who fills in your form will receive a tailored autoresponder! Make sure you test our Restaurant Order form to check how autoresponder rules work!

How to Set Form Rules?

Following our example, imagine you have a brand new vegetarian menu. Would there be any better potential client than people who like salads? Probably not. So you can create a Form Rule that redirects visitors who order salads to your dedicated vegetarian menu. This way, you drive traffic to your new website and the perfect audience will get exposed to a custom offer after their submission. For their next order, they will have your vegetarian menu in consideration.

To create your Form Rules, just go to Settings → Rules → Form Rules. Here, add the conditions and the specific URL you want to redirect your visitors to.

Useful Tip: keep in mind that using a redirection after submission will prevent your Thank You message (the message shown on-screen after submission) from showing up in that particular scenario. So you’ll have to decide what’s best for each case.

Field Rules Best Practices

That’s it about rules, but having these 3 tips in mind will make your Field Rules journey much easier!

1. The same field cannot be shown/hidden by more than one rule. That is to say, appear after “THEN” in more than one rule. If that happens, then that field is shown only if the conditions of the last rule affecting it are met.
how to add form rules


how not to add form rules


2. The form field that comes after “show” is shown only if the conditional statement in the rule is met. Otherwise, it will stay hidden automatically. And that’s without having to create another rule that tells the form when to hide it.

3. It is more recommended to set rules that tell the form when to show a field rather than when to hide it. Why? Because it’s easier to set and it will not lead to conflicts about different rules affecting the same field – see number 1.

correct multiple rules on forms

incorrect multiple rules on forms

Useful Tip for Smart Dynamic: if you need an even more sophisticated behavior, you can create complex rules with multiple conditions and outcomes.

That’s it! In the end, using different kinds of rules will allow you to be more professional. It will provide personalized offers based on users’ interests, making a better user interaction between them and your form. As a side effect, you will also have clearer reports to make better decisions!

Was it helpful? What do you plan to use your conditional logic forms for? You are more than welcome to comment below!



  1. Hi
    I realize now that the more I stick to your training and practice it the more I
    do discover your form’s possibilities and its great potential
    Conditional logic will definitely become a precious asset for me.

    The best thing for me to do now is to make up one small conditional logic scenario
    to get used to it and see how it works.

    Thank you for this step-by-step guide which I will keep on my first screen while I
    build up a form on my second screen next and close to the first one.

  2. Thanks for the heads up. They were very helpful in getting better and convenient way to make my form more interactive. Thanks again.

Leave a comment

Your email address will not be published. Required fields are marked *

You love forms as much as we do?

Then share your form story with us! We will read all the submitted cases and reach out the selected ones for further details. The chosen ones will have a case study created and will be featured in our blog, newsletter and social media channels.