Tag Archives: conditional logic
Creating Forms with Conditional Logic Using NinjaForms

Creating Forms with Conditional Logic Using NinjaForms

NinjaForms is, without a doubt, one of the most popular plugins for creating different forms in your WordPress website.

The basic NinjaForms plugin can be downloaded for free from the WordPress repository or from NinjaForms.com website directly, plus, you can purchase a license for each of the plugin’s extensions separately.

One very useful extension is “Conditional Logic” that allows you to create “smart” forms that will display or hide certain form fields according to conditions you add to specific fields.

You can basically create interactive forms that “react” to the user and change the options according to the fields a user chooses.

This plugin is very useful and effective, and it is also very easy to configure.

Example Form

Here is a simple form with conditional fields we have created you can experiment with.

You can see how the events in the second field change according to the option you choose in the “Country” field:

[ ninja_forms_display_form id=2 ]

Adding a Conditional Statement:

You can easily add conditional statements to practically any field you want, so the possibilities are endless.

Add the relevant field to the form and you will see the conditional statement feature in the editing option:

Adding a Conditional Statement - NinjaForms Conditional Logic

Adding a Conditional Statement – NinjaForms Conditional Logic

 

Now choose the relevant option from the drop-down:

Adding a Conditional Statement - NinjaForms Conditional Logic

Adding a Conditional Statement – NinjaForms Conditional Logic

 

And fill-in all other options according to the option you chose:

Adding a Conditional Statement - NinjaForms Conditional Logic

Adding a Conditional Statement – NinjaForms Conditional Logic

 

That’s it!

Conditional Login Extension Usages:

There are really unlimited purposes for this extension, here are some of them we are using for our own websites:

  • Creating registration forms for special events that occur in different places and dates. When a user chooses a city, a drop-down list with the relevant dates in that specific city is displayed that the user can choose from.
  • Creating different wizards with questions and answers that are displayed according to the options users choose. The sky is really the limit regarding the types of wizards you can create and can change according to your niche.
  • Creating surveys in different topics in order to improve our clients’ experience and our overall service.

Are you using the Conditional Logic extension for other purposes? You are welcome to share them in the comment section below.


This Website is Using Wishlist Memers Count to Increase Members Registration
Wishlist Registration Widget - Increase Members Registration
/* */