這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Contact form 7 Custom validation

外掛說明

This plugin add custom validation messages to individual fields of your contact form 7. You will be able to add your custom error message for text, text area, email, url, radio, phone number etc fields in contact form 7.

Features of this plugin.

  • Add Custom Validation Message to Contact Form Fields.
  • Allows field to be validated for text, text area, email, url, radio, phone number and more.
  • Error message for individual fields.
  • You can add custom validation with multiple forms.

1.1.3

  • Fixed bug of radio field validation
  • Check for contact form plugin compatibility.

1.1

  • Fixed bug of file validation
  • Added more fields
  • Fixed compatibility issues.

1.0

  • first release.

螢幕擷圖

  • Screenshot-1.png shows front-end custom error messages in contact form.
  • Screenshot-2.png shows How to set custom error messages for each fields in contact form message Tab.

安裝方式

  1. Upload plugin to the /wp-content/plugins/ directory.
  2. Activate the plugin through the \’Plugins\’ menu in WordPress admin.
  3. Save your existing contact form (Important).
  4. Add messages in contact form 7 ‘message’ tab after creating any form.

常見問題集

  1. Can I create custom validation for multiple form?
    Ans. Yes, You can create custom validation messages for each form.
Installation Instructions
  1. Upload plugin to the /wp-content/plugins/ directory.
  2. Activate the plugin through the \’Plugins\’ menu in WordPress admin.
  3. Save your existing contact form (Important).
  4. Add messages in contact form 7 ‘message’ tab after creating any form.

使用者評論

2022 年 10 月 20 日
This plugin does its job, however the latest version of Contact Form 7 that this plugin works with is 5.5.6.1, updating Contact Form 7 past that version breaks this plugin & gives the default "This field is required" error messages on forms.
2018 年 7 月 12 日
Thanks ! This plugin is exactly what I needed and I was lazy to develop it 🙂
2017 年 12 月 12 日
This plugin works well, but only on new forms. A workaround is to duplicate an existing form, the validations fields will appear in the copy, but this means renaming, and updating the shortcode on the page which displays the form. Also, it works only for text fields not pull-down menus. So only 4 stars. Nevertheless, this is a useful plugin, and well worth installing.
2017 年 5 月 25 日
After installing and activating the c7 custom validation plugin i cant see your-name, your-email and all other fields name in messages tab. So i cant add my custom error message.
閱讀全部 9 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Contact form 7 Custom validation〉的開發相關工作。

參與者