WordPress plugin intelligence profile

Controller Fields for Contact Form 7

Hide or display content in your forms created in Contact Form 7 based on user selections!

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.7
Current version2.0.0
WordPress coverageTested up to WordPress 6.7
Minimum stackWP 5.8 · PHP 7.4
Directory statusactive
Last directory update2 Dec 20241y ago
Active installations50Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Controller Fields for Contact Form 7 version 2.0.0 as active, updated 1y ago and tested up to WordPress 6.7.

Overview

About this plugin

Contact Form 7 is an excellent WordPress plugin and one of the top choices of free WordPress plugins for contact forms. Controller Fields makes it even more awesome by adding dynamic content capabilities. This plugin provides new form tags for select fields, checkboxes, and radio buttons so you can use them to control the display of other fields and content.

Some examples might include:

  • Hiding or revealing additional form fields based the current value in a dropdown
  • Hiding or revealing content when users click a checkbox
  • Hiding or revealing information based on which radio button is currently selected
  • Controllers and controlled fields can be nested

The possibilities are endless!

View Demo

Preview this plugin in the WordPress Playground, a sandbox environment where you can explore the features of this plugin, both in the WordPress backend as an admin user and on the frontend.

WHAT DOES IT DO?

This plugin creates three (3) new form tags for controlling the appearance of other form tags (aka “controller”) and a special form tag generator button to output the HTML needed to wrap the controllable form tags inside.

HOW TO USE IT

After installing and activating the plugin, you will have four (4) new buttons at the top when creating or editing a Contact Form 7 form: select controller, checkbox controller, radio controller, and controlled form tag wrapper. Most of the options in their tag generators will be familiar to Contact Form 7 users but there have been some upgrades.

Id Attribute

The frontend script relies on unique IDs for the controller form tags, so be sure to always set one!

Options

There are three (3) ways you can define your options. :

Apples Bananas Dragonfruit

:

fruit_1 | Apples fruit_2 | Bananas fruit_3 | Dragonfruit

The third method is dynamic in that you can use a shortcode to populate your options with two important provisions:

  • The shortcode should NOT include the normal square brackets ( [ and ] ). So, instead of [my_shortcode key='value'] you would use my_shortcode key='value'.
  • Any parameters in the shortcode must use single quotes. That is: my_shortcode key='value' and not my_shortcode key="value"

Shortcodes used here should return a string value with the option or option group HTML.

Default value

This field can take static text or a shortcode. If using a shortcode, the same syntax applies from the options field. However, this field also has a few more needs:

  • The text/shortcode must first have apostrophes converted to it’s HTML entity code, '
  • After that, it must be URL encoded so that spaces become %20 and other non-alphanumeric characters are converted.

Placeholder

Only available for the select controller form tag, this field can take static text or a shortcode. If using a shortcode, the same syntax applies from the options field. However, this field also has a few more needs:

  • The text/shortcode must first have apostrophes converted to it’s HTML entity code, '
  • After that, it must be URL encoded so that spaces become %20 and other non-alphanumeric characters are converted.

Read Only Attribute

Simply check this box if you do not want to let users edit this field. It will add the readonly attribute to your form field.

Disabled Attribute

Simply check this box if you do not want to submit this field in the form. It will add the disabled attribute to your form field.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • contact form 7
  • user based
  • conditional
  • dynamic
  • interactive
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.7

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.7.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.7
Minimum requirementsWordPress 5.8 · PHP 7.4
Update activity2 Dec 20241y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.