Make A Smart Form With Conditional Logic

Do you want to make a smart form according to your user field selection? The conditional Logic feature allows you to make a better instinctive WordPress form depending on your users’ entries. Making a smart form with a conditional logic feature is not only relevant to your users but also helps to reduce your cart abandonment rate.

Keeping that in mind, in this article, we will describe how you can create a smart form with conditional logic features of the WordPress Live Form plugin.

So, let’s begin!

What Is Conditional Logic?

Conditional logic is a conditional statement that provides additional instructions depending on a particular response. This means if a user replies to a question as “True”, it will initiate a corresponding next step.

Regarding form, Conditional logic is an approach to configuring form by showing or hiding form fields, submissions or answers based on user preferences.

Why Use Conditional Logic In WordPress Forms?

If you have multiple page forms, then your users do not feel interested to fill them up perfectly. Sometimes they do not start to leave your form incomplete which further results in a low conversion rate for your business. SO, it’s important to create your form simple and neat & clean. 

A logic form will help in that situation. As it is based on the user’s action, only relevant form fields will appear to your users depending on his previous answer. That means it automatically hides the irrelevant form fields from the bunch of form fields box to the user. As a result, forms with fewer fields enhance your conversion and reduce the abandonment rate. 

Now, Taking all these into consideration, the WordPress Live Form plugin offers you the option to build smart, user-friendly forms with complex logic. 

Build Conditional Logic WordPress Form using Live Forms Plugin

This plugin is an advanced drag & drop form builder that provides you to create any type of form such as contact form, logic form, subscription form, client review form, payment form, calculators, WooCommerce form, etc. To learn more about this plugin and its amazing features,  You may read the article about the complete overview of the WordPress live form. But Keep in mind that the conditional logic works only on the premium version of this plugin. So before creating a logic form make sure you have activated the license of the pro version.

Now, let’s learn how you can create conditional logic forms with this plugin. 

How to Make A Smart Form With Conditional Logic?

  1. At first, install and activate the pro version of WordPress live form like any other plugin. If you’re new to WordPress, read our guide about how to install and activate a plugin in WordPress. 
  2. Build your form with all the fields you need. You may check the guide about how to create a contact form with WordPress Live Form to create your form perfectly within a few minutes.
  3. After creating the form, now go to that field box where you want to add logic and click on the blue icon below:
Set Conditional Logic in WordPress Form

Once you have clicked on it, the field settings toolbox will open just to the left of your contact form.  It is mostly the same for every field, only some special fields offer unique options.

Moreover, you can set the field status as “show” or “hide” for “all” or “any” condition matched for any user input.

conditional logic

This means,

  • Show/Hide – Select in case of showing or hiding the current field.
  • All: Fit all the specifications of the condition 
  • Any: Fit any of the specifications of the condition 

Now to set the logic, click on the Add New Condition. Here you will find three options to set the logic. The first one is Field Title where you have to choose the field name.

 The second one is pre-built logic conditions. It looks like below the screenshot,

conditions of conditional logic
  • Is: To check the selected field input is phone or email
  • Is not: To check the selected field input is not phone or email
  • Less than: To check the selected field input is less than any value
  • Greater than: To check the selected field input is greater than any value
  • Contains: To check the selected field input contains any string or value
  • Starts with: To check the selected field input start with any string or value
  • Ends with: To check the selected field input ends with a specific string or value

The last box is for entering the value to check the condition.

For more clarity, take an example like if you want to only take the Gmail address from the Email field box, then you have to set the logic. To do this, you need to select Email from the Field Title box, then choose “Contains” as the logic condition, and then write the value as “Gmail” on the last box. After setting it, it looks like as below:    

WordPress Form with Conditional Logic

Once you have added the logic, save the form and test your form whether it works or not.

That’s it. Now you have added a conditional logic and made your form smarter and interactive in no time.

Hopefully, this tutorial helps you to understand how to make a smart form with conditional logic using WordPress Live Form. For some support for creating simple and personalized forms, feel free to comment below.

We appreciate further comments, support, or suggestions!

How To Create A Contact Form In WordPress?
How to Add A Captcha to Your Form Using WordPress Live Form?

Leave a Comment

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