Contact Form X


Displays a user-friendly contact form that your visitors will love.

CFX: Contact form reinvented. Fast and friendly. Fresh and clean. Awesome for everyone 🙂

For a live demo of Contact Form X, visit my contact page at Perishable Press. Also check out CFX in the “Screenshots” section, below.


Install, activate, and then display the form anywhere, using the widget, shortcode, or template tag. Here is an overview of Contact Form X:

  • Easy to use
  • Simple and secure
  • Lightweight and super fast
  • Provides multiple form styles
  • Customize just about everything
  • Display the contact form anywhere
  • Send email to multiple recipients
  • Complete documentation via Help tab
  • Excellent free plugin support

For a quick look at the plugin, check out the “Screenshots” section, below.

Form Fields

Easily choose which fields to display in the form. Each field may be set as required, optional, or disabled. Choose from these fields:

  • Name
  • Website
  • Email
  • Subject
  • Custom Field
  • Challenge Question
  • Message
  • Google reCaptcha
  • Carbon Copy
  • Agree to Terms

And you can customize the labels for each of these fields, so the fields are super flexible.

GDPR & Privacy

To help comply with GDPR et al, Contact Form X provides the following features:

  • Agree to terms checkbox, customizable
  • Option to disable collection of sensitive user data
  • You may choose which fields to include the form
  • Note: this plugin uses cookies to remember form data

This plugin does not do anything to make your site less compliant with GDPR. I have done my best to ensure that this plugin is 100% GDPR compliant, but I’m not a lawyer so can’t guarantee anything. To determine if your site is GDPR compliant, please consult an attorney.

CFX is developed and maintained by Jeff Starr, 10-year WordPress developer, security specialist, and book author.

Geeky Stuff

Lots of goodness for the geeks among us:

  • Built with the WordPress API
  • Ajax-powered form submission
  • Remembers form data on error
  • Works perfectly with or without Gutenberg
  • View your email messages on the WP Dashboard
  • Display form via widget, shortcode, or template tag
  • Five CSS themes: Default, Classic, Micro, Synthetic, Dark
  • Optionally collect user data like IP, host, and referrer
  • Focused on performance, security, and usability
  • Include extra form and user info with each message
  • Customize the form’s success and error messages
  • Provides plenty of useful hooks for developers
  • Targeted loading of CSS and JavaScript assets
  • One-click remove email data from database
  • One-click restore default options
  • Translation ready

Contact Form X is a fresh new, lighter alternative to the heavier contact forms out there. CFX is lightweight yet fully featured. As they say, “everything you want, nothing you don’t”.

Support development of this plugin

I develop and maintain this free plugin with love for the WordPress community. To show support, you can make a donation or purchase one of my books:

And/or purchase one of my premium WordPress plugins:

Links, tweets and likes also appreciated. Thanks! 🙂


  • Plugin Settings/tab: Email Settings
  • Plugin Settings/tab: Form Settings
  • Plugin Settings/tab: Customize
  • Plugin Settings/tab: Appearance
  • Plugin Settings/tab: Advanced
  • Documentation at your fingertips via the Help tab
  • Theme Style: Default
  • Theme Style: Classic
  • Theme Style: Micro
  • Theme Style: Synthetic
  • Theme Style: Dark
  • Success Message Options (customizable)
  • Showing some error messages (customizable)
  • Dashboard Widget (click toggles email message)
  • Email with optional extra info included


Installing the plugin

  1. Upload the plugin to your blog and activate
  2. Configure the plugin settings as desired
  3. Display the form on any post or page via shortcode: [contactformx]

Visit the Help tab on the plugin settings page for complete documentation.

More info on installing WP plugins


This plugin cleans up after itself. All plugin settings will be removed from your database when the plugin is uninstalled via the Plugins screen.

Note: uninstalling/deleting the plugin via the WP Plugins screen results in the removal of all settings and data from the WP database.

Like the plugin?

If you like Contact Form X, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you!


What about the styles?

The plugin provides five form styles (themes): Default, Classic, Micro, Synthetic, and Dark.

The first three themes (Default, Classic, Micro) employ minimal, mostly structural styles. One of the benefits of using the minimal styles is that they allow your WordPress theme to set the form’s appearance. And that’s good because it helps keep your pages looking visually consistent across your site.

The last two themes (Synthetic, Dark) go much further with the stylings. The Synthetic and Dark styles will override any/most CSS applied via your WordPress theme. So if the contact form looks weird or whatever when trying Default, Classic, or Micro, try either Synthetic or Dark should do the trick.

What about targeted loading of assets?

Sure. By default, Contact Form X loads its assets (CSS and JavaScript) on every front-end page. So if you display a contact form in your sidebar, it will work on all pages.

Some sites prefer to have a “Contact” page, and then just display the contact form in one location. In this scenario, it doesn’t make sense to include plugin assets on every front-end page. So CFX provides a setting called “Targeted Loading” (under the Advanced tab). There you can enter the URL of the page that displays the contact form. That way, the plugin will know to load assets only on that page. This is an excellent way to help keep things optimized for performance and so forth.

Got a question?

Send any questions or feedback via my contact form


Fantastic contact form

I’ve been using the original Contact Coldform for years (and it still works great), but this one is even better. Many thanks to the author for creating this plugin!

Read all 3 reviews

Contributors & Developers

“Contact Form X” is open source software. The following people have contributed to this plugin.


Translate “Contact Form X” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


1.3 (2018/11/12)

  • Adds homepage link to Plugins screen
  • Adds option to display “powered by CFX”
  • Improves display of CFX dashboard widget
  • Improves logic of contactformx_print_js_vars_admin
  • Improves logic of contactformx_maybe_enqueue
  • Updates default translation template
  • Tests on WordPress 5.0 (beta)

1.2 (2018/08/13)

  • Tweaks styles on plugin settings page
  • Replaces wp_kses_post with wp_strip_all_tags for style settings
  • Adds rel="noopener noreferrer" to all blank-target links
  • Updates donate link
  • Updates GDPR blurb
  • Adds option to customize invalid-email error message
  • Improves CSS for all form styles
  • Improves CSS for Dashboard widget
  • Adds “Rate Plugin” link to Advanced tab
  • Updates value of CONTACTFORMX_HOME constant
  • Regenerates default translation template
  • Further tests on WP versions 4.9 and 5.0 (alpha)

1.1 (2018/06/07)

  • Changes required to host plugin at

1.0 (2018/06/05)

  • Initial release