Contact Form 7 (CF7) does not include conditional logic by default. To add this functionality, you must use a third-party extension. These tools allow you to show or hide fields, sections, or even change email recipients based on what the user selects in the form.
### Top Conditional Logic Plugins for CF7
The following plugins are the most reliable options for 2026, ranging from simple field toggles to advanced email routing.
| Plugin | Best For | Key Features |
| --- | --- | --- |
| **Conditional Fields for CF7** | **Most Popular** | Uses "Groups" to wrap fields; supports nested logic and required fields within hidden groups. |
| **Ultimate Addons for CF7** | **All-in-One** | Includes conditional logic alongside multi-step forms, redirection, and star ratings. |
| **Conditional Logic for CF7** | **Email Routing** | Specialized in sending emails to different departments based on form selection. |
| **Extensions for CF7** | **Database Sync** | Combines logic with database saving and post-submission redirection. |
---
### Featured Option: Conditional Fields for Contact Form 7
Developed by Jules Colle, this is the industry standard for CF7 logic. It uses a "Group" system that makes it easy to manage multiple fields at once.
* **Smart Validation:** Required fields inside a hidden group are ignored, so they won't trigger errors unless the group is actually shown.
* **Email Integration:** You can hide or show specific text in the outgoing email by wrapping it in the same group tags used in the form.
* **Advanced Logic:** Supports complex "And/Or" rules and nested groups (e.g., Show Question B only if Question A is "Yes").
---
### How to Set Up Basic Logic
If you are using the **Conditional Fields** plugin, follow these three steps:
1. **Wrap Your Fields:** In the CF7 editor, use the `[group group-name] ... [/group]` tags to wrap the fields you want to hide.
```text
[select user-type "Individual" "Company"]
[group company-info]
<label>Company Name [text company-name]</label>
[/group]
```
2. **Define the Rule:** Go to the new **Conditional Fields** tab in the CF7 interface.
3. **Add the Logic:** Click "Add New Rule" and set it to:
* **Show** [group-name] if [user-type] **equals** "Company".
### 💡 When to Switch to a Different Plugin
If your conditional logic becomes extremely complex (e.g., 20+ rules), Contact Form 7 can become difficult to manage because it is not a drag-and-drop builder. In those cases, many users switch to **WPForms** or **Fluent Forms**, which have visual, "smart" logic built into their core editors.
**Would you like me to show you how to set up "Email Routing" specifically, so that sales inquiries go to one email and support inquiries go to another?**
Subscribe to access unlimited downloads of themes, videos, graphics, plugins, and more premium assets for your creative needs.
Published:
Jan 21, 2026 12:23 PM
Version:
v2.8.2
Category:
Author:
OtherLicense:
GPL v2 or LaterTags: