该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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” 是开源软件。 以下人员对此插件做出了贡献。

贡献者