1. Home
  2. Docs
  3. Tutorials
  4. How to Use Conditional Logic

How to Use Conditional Logic

Conditional logic allows you to configure your form to show or hide fields, sections, pages based on user selections. With conditional logic you can set the stage for your users to answer in a certain way that you prefer. It’s where users select an option and it leads to a specific field as a response to the selected option. This allows you to easily control what information your user is able to provide on your WordPress powered site and tailor the form specifically response-wise.


  1. weForms
  2. weForms Pro

How To Activate:

  • Navigate to weForms>All Forms >Add Form

First Stage

1.Select the title of the form e.g. Membership Form

2. Drag and drop the RADIO button under Custom Fields on the right sidebar. Hover over the RADIO field and select edit.

3. Type the Field Label

4. Type the first option (e.g. Regular Member)

5. Click on the + sign to add another option

6. Type the second option e.g. Non-Member

7. Add more options if you need to

Second Stage

  1. Add another Custom Field e.g. Email Address – drag and drop. Hover over the field and select edit.

2. Enter your field label

3. Write your meta key.

4. Click Yes to enable conditional logic.

5. Select your desired RADIO label from the dropdown to apply conditional logic e.g select “Member Type”.

6. Now select the desired condition to be applied for this particular field (Email) e.g. “Regular Member”.

Shows conditional logic options for WordPress contact form

Final Stage

Save the form and click on the Publish button. Finally, create another page and use the form Short-code. Now your users can see this conditional logic form on your site and fill it in easily!

Watch The Video To View The Entire Process!

Was this article helpful to you? Yes No