This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

CF7 – Custom Error Messages

Description

Contact Form 7 (CF7) is one of the most used and reliable WordPress Plugin with with millions of users widespread presence over the web. Users are continuously facing trouble to set different error messages for each fields of Contact Form 7. They are not able to set custom messages like ‘Please enter your name’, ‘Please enter your email’, etc. But instead they are forced to use ‘Please fill the required field’ for every fields of Contact Form 7.

Few people have found client side javascript or jQuery methods to overcome this problem. However, here is a solution for this and just launched ‘CF7 – Custom Error Messages’ plugin, which will allow you user to put a Custom Error Message for each required fields of Contact Form 7. This will easily configure and display error messages as inputted by Contact Form 7 users.

CF7- Custom Error Messages plugin doesn’t make use of any type of jquery/javascript customization. You just need to add Messages from admin according to your required fields in your CF7. In order to use this plugin, make sure your Contact Form 7 is activated.

CF7 – Custom Error Message Features

  • You can customize your Contact form 7 Error Messages.
  • Allows you to set Different Error Messasge for all your fields.
  • Plugin can work in multiple forms on different page or single page.
  • The Plugin allows to set validation messages for all required input fields.
  • Other validation of Text Field, Textarea field and Email field is allowed.

Plugin Requirement

PHP version : 5.3 and latest
WordPress : WordPress 3.0 and latest

Screenshots

  • Screenshot 'screenshot-1.png' shows 'Custom Error' tab in each Contact Forms at admin side.
  • Screenshot 'screenshot-2.png' shows front end view with custom error messages for each fields set by this plugin.

Installation

  1. There are two ways you can install this WordPress Plugin. Either Open https://wordpress.org/plugins/cf7-Custom-error-messages/, which is the official WordPress Plugins’ directory page, or upload all files manually to your site’s server. click on the download button the page.
  2. Now login to your WordPress site and activate the plugin. Then, select ‘edit’ option in ‘Contact Forms’.
  3. You will find a tab added to your Contact Form 7 – “Custom Error”
  4. You can set Custom Error Messages from here, for all the fields added to your contact form.

FAQ

Do this plugin use any jQuery/javascript client side validations?

No, this plugin does not use any client side validations but it allows you to do all server side.

Do users need to do any customization to set different error messages for any field?

No, I believe in very quick solution and hence I make people reach out of any customizations.

Can we use it multiple Forms in single page?

Yes, you can use it in multiple forms. Every from has different option and you can set different messages for each and every forms although if it is in single page.

Reviews

very nice plugin

just one issue this plugin and reslove code
file name cf7-custom-error-message.php line no 122 ’email*’ just remove (“*”) from email
Thanks …cheers

A bit buggy

I have two fields, a text field and a checkbox group. I head over to the “custom errors” tab and see three options:

Error Message For : email 968
Error Message For Valid : email 968
Error Message For : checkbox 1

So I complete all of these, however after saving, my text for the first email option disappears. My custom message for the checkbox group also doesn’t work (and yes, I have checked “enable custom messages for this form”).

Could be a great plugin, if it worked.

Its Awesome!

This plugin saved me a lot of time! Great job. Small correction that i might add regarding the email type fields is that you don’t need the “else” case in the file cf7-custom-error-message.php on line 128! It doesn’t save the default invalid message this way that makes the error message empty.

Once again good job!

Read all 3 reviews

Contributors & Developers

“CF7 – Custom Error Messages” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • Initial Release

1.1

  • Solved some Function error which is conflict to each other
  • Add Valid Email Error Also if email field is Required.