Linux 软件免费装
Banner图

Validation Muse for Contact Form 7

开发者 simmotorlp
更新时间 2026年6月2日 00:13
PHP版本: 8.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

validation cf7 multilingual contact-form-7 error-message

下载

1.4.0 1.2.0 1.2.1 1.3.0 1.4.2 1.5.0 1.6.0 1.6.1

详情介绍:

Validation Muse lets you write your own validation rules and error messages for every Contact Form 7 field — directly in the form editor, per form, per field. No code, no global settings page, no JavaScript hacks. Most CF7 validation plugins broke when Contact Form 7 6.x introduced Schema-based Validation (SWV). Validation Muse runs its filters at priority 20 (after CF7 core) and uses Reflection to replace SWV error text on already-invalidated fields, so your custom copy actually shows up — even on the new validation engine. Why Validation Muse Supported field types Translations The plugin ships with a .pot file and is already translated into Dutch, German, Russian, Spanish (Chile/Spain). Help translate it into your language.

安装:

  1. Install from Plugins → Add New and search for Validation Muse for Contact Form 7, or upload the validation-muse-for-contact-form-7 folder to /wp-content/plugins/.
  2. Activate the plugin. Contact Form 7 must already be active — Validation Muse will deactivate itself with an admin notice if it is not.
  3. Edit any Contact Form 7 form, open the Custom Validation panel, enable it, and write your messages.
  4. (Optional) Install the Flavor translation plugin to translate messages per language with AI assistance.

屏幕截图:

  • Per-language tabs and the **AI Translate** button (visible when the Flavor translation plugin is active).
  • Required-field message rendered on the frontend.
  • Invalid-format message for an email field rendered on the frontend.

升级注意事项:

1.4.2 Plugin URI now points to the dedicated landing page on plugins.symonov.com. No code changes. 1.4.1 Documentation-only release. Refreshed readme for clearer feature discovery. 1.4.0 Adds multilingual support via the Flavor translation plugin and one-click AI translation of validation messages. No data migration required. 1.3.0 Restores compatibility with Contact Form 7 6.x Schema-based Validation (SWV). Recommended for all CF7 6.x users.

常见问题:

Does this work with Contact Form 7 6.x and Schema-based Validation (SWV)?

Yes. Since version 1.3.0, Validation Muse hooks at priority 20 (after CF7 core) and uses Reflection to replace SWV error text on already-invalidated fields. Your custom messages override both the legacy and SWV defaults.

How is this different from other CF7 validation plugins?

Validation Muse is the only CF7 validation plugin that (1) is compatible with CF7 6.x SWV out of the box, (2) stores messages in form post meta so they live with the form (compatible with CF7 form duplication and import/export plugins), and (3) integrates with the Flavor translation plugin for per-language messages with one-click AI translation.

Can I translate validation messages per language?

Yes — install the Flavor translation plugin and Validation Muse will show language tabs in the form editor plus an AI Translate button. Translations are stored in Flavor's database; uninstalling Validation Muse cleans them up.

Which field types support custom invalid or validation failure messages?

  • email, url, tel, number (including range), date, and time support custom invalid-format messages.
  • file supports custom file size/type validation error messages.
  • acceptance supports custom error messages when the checkbox is not accepted.
  • quiz supports custom error messages when the answer is incorrect.
  • Any required field of any type can have a custom required-field message.

Where are the messages stored?

In each form's post meta. They live with the form, so duplicating a form (built into CF7) keeps the messages. CF7 has no native export, but third-party CF7 import/export plugins read post meta — so migrations across sites work without a separate import step.

Can I use HTML in validation messages?

Yes, basic HTML is allowed and sanitized via wp_kses_post().

Does this plugin require Contact Form 7?

Yes. CF7 must be installed and active. The plugin shows an admin notice and self-deactivates if CF7 is missing.

Is there a settings page?

No. Configuration lives inside each form, in the Custom Validation panel. There is no global settings page by design — every form keeps its own messages.

Does the plugin track or send any data?

No. Validation Muse makes no external requests. The optional AI Translate button (Flavor integration) routes through Flavor's own configured provider.

更新日志:

1.6.1 1.6.0 1.5.0 1.4.2 1.4.1 1.4.0 1.3.0 1.2.1 1.2.0 1.1.2 1.1.1 1.1.0 1.0.1