Custom Validation Message for Contact Form 7

描述

Contact form 7 is widely used plugin now-a-days but it doesn’t allow to set specific validation message for each field. Not everyone is so technical that can code to set specific message.This plugin can help to set specific custom validation message for each field.

After activating plugin, a new tab will be displayed with the title “Custom Validation Messages” for each form where all the fields will be displayed. Admin can set here own validation message for each required field.

Demo Link

Some of basic feature using this plugin:

  • Plugin covers most of tags which are used in contact form 7.
  • For email tag, also custom email confirmation validation message can be set.
  • No required any technical knowledge for it.
  • Plugin doens’t create any extra table so it will not load on database.
  • Created using WordPress coding standard.

Plugin supports below fields:

  • text (with min and max validation)
  • email (with confirm email)
  • URL
  • tel
  • date
  • textarea (with min and max validation)
  • drop-down menu
  • checkboxes
  • radio buttons

Arbitrary section

Still you have any suggestion / feedback then let us know on support@digitaldyna.com.

螢幕截圖

  • After activating plugin, new tab 'Custom Validation' will be displayed where admin can set custom validation message for each required field.
  • When user submit form, custom validation message will be displayed below is field.

安裝

To install “Custom Validation Message for CF7” using the built-in plugin installer:
1. Go to Plugins > Add New.
2. Type in “Custom Validation Message for CF7” in Search Plugins box or click a tag link below the screen.
3. Find the “Custom Validation Message for CF7” in the list.
4. Click Install Now to install the WordPress Plugin.
5. Click Activate to activate it.
6. Go to ‘Contact’ for list of Contact Forms..
7. Select any form from the list and new tab ‘Custom Validation’ will be displayed.
8. Set your custom validation message for each tag you have selected at form tab.

To install “Custom Validation Message for CF7” manually:
1. Download your WordPress Plugin to your desktop.
2. If downloaded as a zip archive, extract the Plugin folder to your desktop.
3. With your FTP program, upload the Plugin folder to the wp-content/plugins folder in your WordPress directory online.
4. Go to Plugins screen and find the “Custom Validation Message for CF7” in the list.
5. Click Activate to activate it.
6. Go to ‘Contact’ for list of Contact Forms..
7. Select any form from the list and new tab ‘Custom Validation’ will be displayed.
8. Set your custom validation message for each tag you have selected at form tab.

常見問題

Does the plugin provide option to deactivate custom validation message for some specific form?

Yes you have an option for activate/deactivate custom validation message at top of ‘Custom Message’ tab.

Does the plugin add jQuery validation?

No, This plugin just show custom validation message with existing server side validation.

How can i recognize field to set custom validation message?

You can recognize field by field name. Suppose your field name is your-name then this name will be displayed at ‘Custom Validation’ tab along with text field allow admin to set custom validation message.

評價

2021年3月1日
Its really useful. I searched a lot for such plugin which finally end up me here.This is really very easy as per my need on customizing.
閱讀全部12個評價

貢獻者及開發者

“Custom Validation Message for Contact Form 7” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Custom Validation Message for Contact Form 7 外掛目前已有 5 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Custom Validation Message for Contact Form 7 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.0.0

  • Fixed validation. Added Rest API compatiblity as it’s changed by Contact Form 7.
  • Used object notation to access the ID from contact form 7 object at admin side.
  • While activating plugin, showing 304 error for multisite. It’s fixed.
  • Compatiblity check with WordPress 6.0.2.

1.3.1

  • Added custom validation message support for file upload field.
  • Compatiblity check with WordPress 5.8.

1.2.2

  • Bug fix: Email validation checked by Inbuilt PHP function.

1.2.1

  • Bug fixing for checkbox and radio buttions.
  • Some logical improvements.

1.2

  • Compatiblity check with WordPress 5.7 version.
  • Added minimum and maximum length custom validation message support for text and textarea fields.

1.1

  • Compatiblity check with WordPress 5.6.2 version.
  • Added multisite support. Plugin will work with Network enable site.

1.0.1

  • Showing default tags if contact form not saved.
  • Added note at top of tab for user understanding. New tag will be displayed at Custom Validation form only after form is saved.

1.0.0

  • All tag supports to set custom validation message.
  • Allow to set custom validation message for wrong email address validation.