May 7, 2020 | Divi Resources

How to use Divi conditional logic

Divi and its page builder provide a lot of useful features to create better websites. And Divi conditional logic is one of them, which allows users to add forms with conditions to use it effectively.  Therefore, in this post, we’re going to see how we can use it.

So, without making any delay, let’s jump right in it!

Creating conditional logic forms in the Divi theme

To start creating conditional logic form, there’re some necessary steps to follow,

  1. Create a new page / edit existing one, where you want to add conditional logic form
  2. Launch Divi Builder
  3. Choose Build From Scratch
  4. Once the white canvas appear, add a single column row.

Add Contact Form module

After inserting a single column row, add Contact Form module from the Divi module library.

Divi Contact Form Module

Upon adding the module, you get NameEmail, and Message field by default. Now, if you want to apply conditional logic on a particular field, then go to field’s individual setting. Then, further head over to the conditional logic setting and open it. Here, you’ll find a toggle, check it as “Yes.” Then add rules to apply conditional logic.

Divi Conditional Logic Toggle enabled

In conditional logic settings, you also get the Relation toggle, which defines all your conditions. If relation toggle set as ANY, then condition will be applied if any of the rules happens to be true. However, if you set relation as ALL, then it’s necessary that each rule would return true, to apply the condition. 

In rules, you can add up to 08 conditions that are as follows,

  • Equals
  • Does not equal
  • Is greater than
  • Is less than
  • Contains
  • Does not contain
  • Is empty
  • And is not empty

Divi Conditional Logic Rules

 

 

Posted By:
Vishvendra
Vishvendra believes in the keep learning process and applying those learnings into work. Other than technical writing, he likes to write fiction, non-fiction, songs, and comic ideas. He loves what he writes and writes what he loves. Search his name with "Nathawat," and you'll easily find him over the internet.

0 Comments

Submit a Comment

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

0 Comments

Submit a Comment

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

Divi Presets: What it is and why you should use it

Divi Presets: What it is and why you should use it

Elegant Themes regularly releases updates for Divi. Some of those updates are more important than others. A recent update, called Divi Presets, is one of the most impressive and important updates so far. It promises to save you time in designing and editing your Divi...

15 professional website design tips you can follow in 2020

15 professional website design tips you can follow in 2020

Competing in today’s business landscape can feel like an impossible task. No matter how many calls you make, emails you send, or social media posts you submit, it will feel like companies with more resources than you are always a step or two ahead. When it comes to...