WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Jules Colle v2.7.13

Conditional Fields for Contact Form 7

Adds conditional logic to Contact Form 7.

Conditional Fields for Contact Form 7

The facts

Rating
4.8★ from 166
Active installs
100k+
Price
Free
Last updated
17 Aug 2026
Added
Jun 2016
Requires WP
5.9
Tested up to
WP 7.0.4
Requires PHP
7.0
Downloads
6,940,723

Our analysis

AI-assisted

Conditional Fields for Contact Form 7 is a WordPress plugin that adds conditional logic to Contact Form 7 forms. It allows you to create groups of fields that can be shown or hidden based on specific conditions you set. This is particularly useful for creating dynamic forms that adapt to user input.

The plugin features support for required fields within hidden groups, ensuring that validation errors do not occur. You can also manage how information is displayed in emails based on the visibility of these groups, making it a versatile tool for form management.

Best for: This plugin is suitable for users who need advanced form functionality in Contact Form 7.

What it does well

  • Adds conditional logic to Contact Form 7
  • Supports required fields in hidden groups
  • Allows nested groups for complex forms
  • Customised email content based on visible groups

Where it falls short

  • Limited information on additional features or support

Verdict

Conditional Fields for Contact Form 7 provides a straightforward way to enhance forms with conditional logic. It is a useful tool for those looking to create more interactive and user-friendly forms.

From the developer

Jules Colle's own description of Conditional Fields for Contact Form 7, lightly tidied.

This plugin adds conditional logic to Contact Form 7.

If you edit your CF7 form, you will see an additional tag called “Conditional fields Group”. Everything you put between the start and end tag will be hidden by default.
After you have added the field group(s), go to the “Conditional fields” tab to create one or more conditions that will make the group(s) appear.

Conditional Fields for Contact Form 7 is an independent plugin. This plugin is not affiliated with or endorsed by the developers of Contact Form 7.

How to use it

Follow this tutorial

Main features

Support for required fields

Required fields inside hidden groups will never trigger validation errors.

Hide/show info in emails based on what groups are visible

Conditional groups can now be added to the emails as well.
Just wrap the content with [group-name] ... [/group-name] tags.
To show content only when a group is hidden, invert the tag with an exclamation mark: [!group-name] ... [/!group-name].

Groups can be nested

Groups can be nested, both in the form and in the email

Example form:

[group group-1]
  [group group-inside-1]
    ...
  [/group]
[/group]

Example email:

[group-1]
  [group-inside-1]
    ...
  [/group-inside-1]
[/group-1]

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for building forms.

WPForms

WPForms

98

The best WordPress contact form plugin. Drag & Drop form builder to create beautiful contact forms, paymen...

Free 5M+ installs 4.8★ (14,369)
Akismet Anti-spam: Spam Protection

The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam sol...

Free 5M+ installs 4.7★ (1,186)
Fluent Forms

Get a fast contact form plugin. Create advanced forms using drag and drop form builder with all smart features...

Free 700k+ installs 4.8★ (790)
Forminator Forms

Best WordPress form builder plugin. Create contact forms, payment forms & order forms with 1000+ integrati...

Free 600k+ installs 4.8★ (2,117)
Database Addon for Contact Form 7

Save and manage Contact Form 7 messages. Never lose important data. It is a lightweight contact form 7 databas...

Free 600k+ installs 5★ (1,874)
MetForm

MetForm

93

Elementor forms builder to create WordPress forms like contact form, booking form, feedback form, survey form,...

Free 600k+ installs 4.7★ (504)