Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

CF7 – Custom Error Messages

Опис

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

Скріншоти

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

Встановлення

  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.

Часті питання

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.

Відгуки

13.04.2021
I was looking forward to this working to save me time, but whenever I try saving the custom error messages, nothing gets saved, not even the switch to turn them on. I had to deactivate and delete this plugin and now I have to write my own jquery. Very frustrating.
07.08.2020
Apparently when author of this plugin decided to push update 1.2 he forgot to include the file which is required by plugin to operate. If you have this plugin active on your website, missing file renders your whole website inoperable with a critical error. Warning: require_once(/app/wp-content/plugins/cf7-custom-error-messages/cf7-custom-error-message-settings.php): failed to open stream: No such file or directory.
27.09.2018
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
19.05.2017
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.
02.12.2016
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!
Прочитати всі 5 відгуків

Учасники та розробники

“CF7 – Custom Error Messages” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “CF7 – Custom Error Messages” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.3

  • Update plguin and solved some Error with make it supported with latest CF7 and WordPress

1.2

  • Imporove Admin option design
  • Solved missing fields message box from admin.

1.1

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

1.0

  • Initial Release