Title: Contact Form X
Author: Jeff Starr
Published: <strong>8 de Junio de  2018</strong>
Last modified: 17 de Abril de  2026

---

Buscar plugins

![](https://ps.w.org/contact-form-x/assets/banner-772x250.jpg?rev=1889318)

![](https://ps.w.org/contact-form-x/assets/icon-256x256.jpg?rev=1889318)

# Contact Form X

 Por [Jeff Starr](https://profiles.wordpress.org/specialk/)

[Descargar](https://downloads.wordpress.org/plugin/contact-form-x.3.0.2.zip)

 * [Detalles](https://cl.wordpress.org/plugins/contact-form-x/#description)
 * [Reseñas](https://cl.wordpress.org/plugins/contact-form-x/#reviews)
 *  [Instalación](https://cl.wordpress.org/plugins/contact-form-x/#installation)
 * [Desarrollo](https://cl.wordpress.org/plugins/contact-form-x/#developers)

 [Soporte](https://wordpress.org/support/plugin/contact-form-x/)

## Descripción

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

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

**Overview**

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
 * ADA and WCAG compliant
 * Lightweight and super fast
 * Provides multiple form styles
 * Customize just about everything
 * Display the contact form anywhere
 * Add Checkbox, Radio, and Select fields
 * Customize the order of all form fields
 * Send email to multiple recipients
 * Complete documentation via Help tab
 * Excellent free plugin support 😎

> “The famous spam filter SpamAssassin” scores CFX = zero spam!

For more details, 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 1 (can be dropdown, checkbox, radio, text, or phone number)
 * Custom Field 2 (can be dropdown, checkbox, radio, text, or phone number)
 * Custom Field 3 (can be dropdown, checkbox, radio, text, or phone number)
 * Challenge Question
 * Message
 * Google reCaptcha (v2 or v3 Invisible)
 * Cloudflare Turnstile (Invisible Captcha)
 * Carbon Copy
 * Agree to Terms

You can change the order of these fields and customize their labels and placeholders,
everything is super flexible.

**For a live demo** of Contact Form X, visit my [support page](https://plugin-planet.com/support/#contact)
at Plugin Planet, and also my [contact page](https://perishablepress.com/contact/)
at Perishable Press. Feel free to send a test email to see how it works, I won’t
mind 😉 Also check out CFX in the “Screenshots” section (below) for a better idea
of how the default form is styled out of the box.

**Geeky Stuff**

Lots of goodness for the geeks among us:

 * Built with WordPress APIs
 * Ajax-powered form submission
 * Remembers all form data on error
 * Cloudflare Turnstile (Invisible Captcha)
 * Google reCaptcha (v2 or v3 Invisible)
 * Drag/drop ordering of all form fields
 * View your email messages on the WP Dashboard
 * Option to enable/disable storing of email data in database
 * Display form via widget, shortcode, or template tag
 * Five CSS themes: Default, Classic, Micro, Synthetic, Dark
 * Optionally disable all plugin styles and use your own CSS
 * Optionally collect user data like IP, host, and referrer
 * Works perfectly with or without Gutenberg Block Editor
 * 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”.

**Privacy**

To help protect user privacy, Contact Form X provides the following features:

 * Agree to terms checkbox, customizable
 * Choose which fields to include with the form
 * Option to disable collection of user IP address and other data
 * Note: this plugin uses cookies to enhance form functionality

Basically, this plugin enables visitors to send a message via contact form. Any 
information the user enters into the form will be sent directly to the recipient(
s) according to plugin settings. When enabled in the plugin settings, details about
each sent message will be stored in the WordPress database. Visit the “Advanced”
plugin settings to control and/or disable this and other data-collection features.

**Note:** CFX provides an option to enable Google reCaptcha, which is provided by
Google as a third-party service. For details on privacy and more, please refer to
official documentation for [Google reCaptcha](https://developers.google.com/recaptcha/).

Contact Form X is developed and maintained by [Jeff Starr](https://x.com/perishable),
15-year [WordPress developer](https://plugin-planet.com/) and [book author](https://books.perishablepress.com/).

**Support development**

I develop and maintain this free plugin with love for the WordPress community. To
show support, you can [make a donation](https://monzillamedia.com/donate.html) or
purchase one of my books:

 * [The Tao of WordPress](https://wp-tao.com/)
 * [Digging into WordPress](https://digwp.com/)
 * [.htaccess made easy](https://htaccessbook.com/)
 * [WordPress Themes In Depth](https://wp-tao.com/wordpress-themes-book/)
 * [Wizard’s SQL Recipes for WordPress](https://books.perishablepress.com/downloads/wizards-collection-sql-recipes-wordpress/)

And/or purchase one of my premium WordPress plugins:

 * [BBQ Pro](https://plugin-planet.com/bbq-pro/) – Blazing fast WordPress firewall
 * [Blackhole Pro](https://plugin-planet.com/blackhole-pro/) – Automatically block
   bad bots
 * [Banhammer Pro](https://plugin-planet.com/banhammer-pro/) – Monitor traffic and
   ban the bad guys
 * [GA Google Analytics Pro](https://plugin-planet.com/ga-google-analytics-pro/)–
   Connect WordPress to Google Analytics
 * [Head Meta Pro](https://plugin-planet.com/head-meta-pro/) – Ultimate Meta Tags
   for WordPress
 * [REST Pro Tools](https://plugin-planet.com/rest-pro-tools/) – Awesome tools for
   managing the WP REST API
 * [Simple Ajax Chat Pro](https://plugin-planet.com/simple-ajax-chat-pro/) – Unlimited
   chat rooms
 * [USP Pro](https://plugin-planet.com/usp-pro/) – Unlimited front-end forms

Links, tweets and likes also appreciated. Thanks! 🙂

## Capturas de pantalla

 * [[
 * 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

## Instalación

**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](https://wordpress.org/documentation/article/manage-plugins/#installing-plugins-1)

**Uninstalling**

This plugin cleans up after itself. All plugin settings and email data will be removed
from the WordPress database when the plugin is deleted via the WP Plugins screen.

**Like the plugin?**

If you like Contact Form X, please take a moment to [give a 5-star rating](https://wordpress.org/support/plugin/contact-form-x/reviews/?rate=5#new-post).
It helps to keep development and support going strong. Thank you!

## FAQ

### 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.

And of course, there is an option to disable all plugin styles. So you can use your
own custom CSS 🙂

### What about targeted loading of assets?

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.

### How to change the button color?

In the plugin settings, visit the “Appearance” tab. There you will see the first
option, “Form Style”. That tells you which styles are used for the form. So to change
the button color, scroll down to locate the styles that you are using (e.g., Default,
Classic, Micro, et al). To change the color of the submit button, add the following
line to whichever styles you are using:

    ```
    #cfx .cfx-button { background: red !important; }
    ```

Change the `red` to whatever color you want. Can use hex values, rgba, or any valid
CSS properties. Save changes and done.

### How to include extra form data with email messages?

Visit the Advanced tab and enable “Extra Email Info” option. Save changes and done.

### How to defer or async loading of JavaScript?

The recommended way to defer or async load JavaScript is to use a trusted plugin
or custom script.

### How to set maxlength on the Message textarea?

It is possible to set a `maxlength` attribute on the Message field, a textarea. 
To do so, add the following code via (child) theme or [custom plugin](https://digwp.com/2022/02/custom-code-wordpress/):

    ```
    function contactformx_textarea_maxlength($chars) { return 500; }
    add_filter('contactformx_textarea_maxlength', 'contactformx_textarea_maxlength');
    ```

You can adjust the number of characters by changing `500` to any number.

### How to display the form shortcode inside a widget?

Enable the Advanced option, “Widget Shortcodes”. Save changes and done.

### How to change the language for Google reCaptcha?

By default, the Google reCaptcha field is displayed in English. To change that to
some other language, first locate the two-digit abbreviation for your language [here](https://developers.google.com/recaptcha/docs/language).
Then add the following code to your theme (or child theme) functions.php, or add
via simple [custom plugin](https://digwp.com/2022/02/custom-code-wordpress/):

    ```
    function contactformx_recaptcha_querystring($query) { return 'en'; }
    add_filter('contactformx_recaptcha_querystring', 'contactformx_recaptcha_querystring');
    ```

Notice where it says `en`, that is the two-character language code you want to replace
with your own. Then save changes and done.

### How to hide the Google reCaptcha badge?

According to Google docs, it’s fine to hide the reCaptcha badge (the little blue
badge that displays in the corner of the page), as long as the [official requirements](https://developers.google.com/recaptcha/docs/faq#id-like-to-hide-the-recaptcha-badge.-what-is-allowed)
are met. So if you’ve got the requirements covered, it’s fine to add the following
CSS to hide the reCaptcha badge:

    ```
    .grecaptcha-badge { visibility: hidden; }
    ```

You can append that bit of CSS to your chosen form styles under the Appearance tab,
in the CFX settings. Save changes and done. Or alternately, you can add the CSS 
using a custom plugin, or via any other method.

### Compatibility with SMTP plugins?

Contact Form X (CFX) should be compatible with any SMTP plugin that uses WP APIs
and standards, etc. For example, from user reports we know that:

 * CFX is compatible with Easy WP SMTP out of the box
 * CFX is compatible with SMTP Mailer when the setting “Email Address From” is the
   same as the email set up in SMTP Mailer settings

[Thanks](https://wordpress.org/support/topic/problematic-headers/) to [@sixaxis](https://wordpress.org/support/users/sixaxis/)
for this information.

Please [let us know](https://plugin-planet.com/support/#contact) if you have any
information about CFX compatibility with SMTP plugins, thank you.

### How to set the default Subject field?

There are two ways to customize/set the Subject line:

First way is to simply disable the “Subject” field (under the “Form” tab), and then
set the option “Default Subject” (under the “Customize” tab) to whatever you want.

Second way is to add this snippet of jQuery to your site:

    ```
    <script>
    jQuery(document).ready(function($) {
        $('.cfx-subject').hide();
        $('.cfx-submit').click(function() {
            $('#cfx-subject').val('Whatever you want');
        });
    });
    </script>
    ```

Make sure to change the “Whatever you want” to.. well, whatever you want to use 
for the Subject field in all sent messages. No other changes need made, save changes
and done.

### How to customize the Carbon Copy message?

To change the message that is displayed at the beginning of all carbon copy emails,
add the following slice of code to your WordPress site:

    ```
    function contactformx_send_carbon_message($message) {
        return 'This message is displayed at the beginning of the carbon copy email.'. "\n\n";
    }
    add_filter('contactformx_send_carbon_message', 'contactformx_send_carbon_message');
    ```

Make sure to change the return message to whatever you would like. No other changes
need made, save changes and done. Just fyi, here is a guide that explains some ways
to [add custom code to WordPress](https://digwp.com/2022/12/custom-code-wordpress/).

### Got a question?

Send any questions or feedback via my [contact form](https://plugin-planet.com/support/#contact)

## Reseñas

![](https://secure.gravatar.com/avatar/fcb9fe044a1689c4b19910afd22700eae2b1eb861f3a1e9d221adefad6fd628c?
s=60&d=retro&r=g)

### 󠀁[A great and clutter free plugin](https://wordpress.org/support/topic/a-great-and-clutter-free-plugin/)󠁿

 [Joost abrahams](https://profiles.wordpress.org/joost-abrahams/) 7 de Diciembre
de 2025

This plugin sets the standard for helpfull and meaningfull use of the help tab. 
Jeff made it very easy to setup the plugin.

![](https://secure.gravatar.com/avatar/94e5d997ac747dbe4f67d9ba2733fb550233c772ae1bfb6d5c5ce577d123c57d?
s=60&d=retro&r=g)

### 󠀁[A Lightweight Contact Form You Can Trust + awesome dev](https://wordpress.org/support/topic/a-lightweight-contact-form-you-can-trust-awesome-dev/)󠁿

 [kp](https://profiles.wordpress.org/kp/) 4 de Noviembre de 2025

I’ve used his plugins before, paid and unpaid, and they are just top quality across
the board. With so many endless bloated form plugins, this is like a stiletto cutting
through the muck. And now it has support for Cloudflare Turnstile! Keeping it completely
up to date. I have no idea why it doesn’t have 10k downloads, but it should.

![](https://secure.gravatar.com/avatar/0ad9522d953ee97a234f31b3586116ae706792ff119b8aaab55749fe9a7bbb93?
s=60&d=retro&r=g)

### 󠀁[Great minimalist plugin](https://wordpress.org/support/topic/great-minimalist-plugin-2/)󠁿

 [dovis721](https://profiles.wordpress.org/dovis721/) 11 de Febrero de 2025

Great minimalist plugin. As a web developer i like it.

![](https://secure.gravatar.com/avatar/45974108062378fffd563cf29699415b9ac3d56baf66944c837794d527189cdd?
s=60&d=retro&r=g)

### 󠀁[Great plugin form](https://wordpress.org/support/topic/great-plugin-form-2/)󠁿

 [paulman](https://profiles.wordpress.org/paulman/) 21 de Junio de 2024

Straight forward installation – and looks clean and efficient when installed on 
the website.

![](https://secure.gravatar.com/avatar/0ece02f84064b37b72e67462316f8b98d54d2c0df405d8bb8aa7b5dbd9155fcd?
s=60&d=retro&r=g)

### 󠀁[Amazing plugin – Contact X best form ever](https://wordpress.org/support/topic/amazing-plugin-contact-x-best-form-ever/)󠁿

 [kmp2](https://profiles.wordpress.org/kmp2/) 21 de Julio de 2023

I discovered something amazing about this contact X plugin that I had not been aware
of when I installed it. It drops the most recent 10 messages into your wordpress
dashboard! What a brilliant idea. In fact, I had probably deleted an important message
by mistake from my email account, only to luckily find a copy posted on my dashboard.
Talk about save the day. That’s how I discovered this terrific feature. What an 
excellent idea. I would highly recommend this plugin to anyone who wants to really
know what’s going on in their own web site.

![](https://secure.gravatar.com/avatar/b8d2dc17fdd6c82e386e23d86820eef4d0b46e5c6e7477991f1746d8aa8f96e2?
s=60&d=retro&r=g)

### 󠀁[Just amazing](https://wordpress.org/support/topic/just-amazing-122/)󠁿

 [Gerard Blanco](https://profiles.wordpress.org/sixaxis/) 7 de Marzo de 2023

What a great plugin. I’m just so tired of all the other contact forms, all bloated,
loading their own styles. And then I saw this gem. Simple, yet powerful. Has anti-
spam integrated, which, unfortunately, it’s mandatory to have nowadays Registers
all email in the database, including if the user agreed to the terms, mandatory 
for GDPR reasons. Doesn’t force its own UI. Following WP guidelines. Amazing. Just
amazing.

 [ Leer los 32 comentarios ](https://wordpress.org/support/plugin/contact-form-x/reviews/)

## Colaboradores & Desarrolladores

“Contact Form X” es software de código abierto. Las siguientes personas han contribuido
a este plugin.

Colaboradores

 *   [ Jeff Starr ](https://profiles.wordpress.org/specialk/)

“Contact Form X” ha sido traducido en 3 idiomas. Gracias a [los traductores](https://translate.wordpress.org/projects/wp-plugins/contact-form-x/contributors)
por sus contribuciones.

[Traduce “Contact Form X” a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/contact-form-x)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/contact-form-x/), 
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/contact-form-x/),
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/contact-form-x/)
por [RSS](https://plugins.trac.wordpress.org/log/contact-form-x/?limit=100&mode=stop_on_copy&format=rss).

## Historial de cambios

If you like CFX, please take a moment to [give a 5-star rating](https://wordpress.org/support/plugin/contact-form-x/reviews/?rate=5#new-post).
It is super appreciated and really helps to keep plugin development going strong.

**3.0.2 (2026/04/17)**

 * Updates plugin settings page
 * Improves readme.txt documentation
 * Removes `contactformx_init` from `uninstall.php`
 * Tweaks Extra Data email information
 * Tweaks `contactformx_get_custom()`
 * Tests on WordPress 7.0

Full changelog @ [https://plugin-planet.com/wp/changelog/contact-form-x.txt](https://plugin-planet.com/wp/changelog/contact-form-x.txt)

## Meta

 *  Versión **3.0.2**
 *  Última actualización **hace 2 días**
 *  Instalaciones activas **400+**
 *  Versión de WordPress ** 4.7 o superior **
 *  Probado hasta **7.0**
 *  Versión de PHP ** 5.6.20 o superior **
 *  Idiomas
 * [Dutch](https://nl.wordpress.org/plugins/contact-form-x/), [English (US)](https://wordpress.org/plugins/contact-form-x/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/contact-form-x/), y [Spanish (Spain)](https://es.wordpress.org/plugins/contact-form-x/).
 *  [Traducir a tu idioma](https://translate.wordpress.org/projects/wp-plugins/contact-form-x)
 * Etiquetas
 * [ajax](https://cl.wordpress.org/plugins/tags/ajax/)[contact](https://cl.wordpress.org/plugins/tags/contact/)
   [contact form](https://cl.wordpress.org/plugins/tags/contact-form/)[email](https://cl.wordpress.org/plugins/tags/email/)
   [feedback](https://cl.wordpress.org/plugins/tags/feedback/)
 *  [Vista Avanzada](https://cl.wordpress.org/plugins/contact-form-x/advanced/)

## Calificaciones

 5 de 5 estrellas.

 *  [  32 valoraciones de 5 estrellas     ](https://wordpress.org/support/plugin/contact-form-x/reviews/?filter=5)
 *  [  0 valoraciones de 4 estrellas     ](https://wordpress.org/support/plugin/contact-form-x/reviews/?filter=4)
 *  [  0 valoraciones de 3 estrellas     ](https://wordpress.org/support/plugin/contact-form-x/reviews/?filter=3)
 *  [  0 valoraciones de 2 estrellas     ](https://wordpress.org/support/plugin/contact-form-x/reviews/?filter=2)
 *  [  0 valoraciones de 1 estrellas     ](https://wordpress.org/support/plugin/contact-form-x/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/contact-form-x/reviews/#new-post)

[Ver todas las reseñas](https://wordpress.org/support/plugin/contact-form-x/reviews/)

## Colaboradores

 *   [ Jeff Starr ](https://profiles.wordpress.org/specialk/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/contact-form-x/)

## Donar

¿Te gustaría apoyar el avance de este plugin?

 [ Donar para este plugin ](https://monzillamedia.com/donate.html)