Type to search.

#335 by installs

Conditional Fields for Contact Form 7

by Jules ColleVersion 2.8.5

Adds conditional logic to Contact Form 7.

Active installs
100,000+
#335 of 1,000
Downloads, all time
7.2M
7,179,389
Downloads, 30 days
208.3K
49.5K in the last 7
Rating
4.8 / 5
166 reviews
Last updated
2 days ago
Oct 29, 2026
Version
2.8.5
179 releases

Upkeep and compatibility

Last updatedOctober 29, 2026Updated in the last 3 months
Tested up toWordPress 7.1.4Covers WordPress 7.1.4, the current release
Needs WordPress5.9 or newer
Needs PHP7.0 or newer
Needs pluginscontact-form-7
First publishedJune 1, 2016
Support, last two months2 of 4 threads resolved (50%)

Reviews

4.8 / 5 from 166 reviews

Reviews by star rating
5 stars153
4 stars4
3 stars1
2 stars2
1 star6

Downloads, last 30 days

Low 362 a dayHigh 24.3K a day

What the author says it does

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]

Advanced

Advanced users can code up the conditions as plain text instead of using the select boxes, using the Text View.

Need more power?

The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.

Questions the author answers

Email message is not showing the correct values / Wrong values are submitted

All field names should be unique

Even though your fields might never show up at the same time, it is still important to realize that WPCF7CF will not remove the fields, it merely hides them. So all fields will be submitted when the form is sent. Because of this no two fields can have the same name.

Incorrect form (2 input elements having the same name “a”):

All my groups show up all the time and never get hidden.

Reason #1: JavaScript error

Check your browser console (F12) for any JavaScript errors. WPCF7CF loads its scripts at the bottom of the HTML page, so if some JavaScript error gets triggered before that, the code will not be executed in most browsers.

Before reaching out to the support forum try to determine which plugin or theme is causing the problem, by gradually disabling plugins and changing the theme.

Latest changelog entry

2.8.5 (2026-10-29)

  • Fully tested with Contact Form 7 version 6.2.4.1
  • Contact Form 7 6.2.4.1 fixes the empty file field bug from 6.2.4 (contact-form-7#1908).

Screenshots

From WordPress.org.

Tagged

Plugins that share its tags

#647 by installs

Ultra Addons for Contact Form 7

by Themefic

50+ Essential Addons for Contact Form 7 - Conditional Fields, Multi Step, Redirection, Columns, WooCommerce, Mailchimp & more

Installs
60,000+
Rating
4.8 (107)
Updated
4 days ago

#35 by installs

MC4WP: Mailchimp for WordPress

by Danny van Kooten

The #1 Mailchimp plugin for WordPress. Allows you to add a multitude of newsletter sign-up methods to your site.

Installs
1+ million
Rating
4.8 (1.5K)
Updated
45 days ago

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

Installs
600,000+
Rating
5.0 (1.9K)
Updated
22 days ago

Where this page's numbers come from

Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin. The author takes donations at their donate page.