Skip to content
Sign in
Validation Muse for Contact Form 7 icon

Validation Muse for Contact Form 7

Custom validation rules & messages for Contact Form 7 — regex, length, required-if, per field, CF7 6.x SWV-compatible, multilingual.

Not scanned yet WordPress plugin 20 installs

Install in

No install steps yet

Follow the steps on the source page.

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

  • CF7 6.x SWV compatible — works with the new Schema-based Validation engine, not just legacy hooks.
  • Custom Regex & Length Rules — define custom regular expression patterns, min length, and max length rules per field with their own error messages.
  • Conditional “Required-If” Rules — make fields required only when a companion field is filled/checked.
  • Client-Side SWV Integration — standard validation rules (required, email, length) are injected into CF7’s native SWV engine for instant frontend feedback with full accessibility (A11y) support.
  • Rule Sets Import/Export & Templates — export/import validation rules as JSON, copy them from other forms, and bulk apply global templates.
  • Placeholder Tokens — use {field_label}, {min}, and {max} in validation messages to generate dynamic texts.
  • Per-form, per-field — each form keeps its own messages; no global override.
  • Stored in post meta — messages live with the form, compatible with CF7 form duplication and third-party CF7 import/export plugins.
  • Multilingual via WPML, Polylang & Flavor — translates rules using standard WPML/Polylang hooks, and features language tabs + one-click AI Translate when Flavor is active.
  • Developer-friendly — extensibility hooks vmcf7_loaded and vmcf7_validation_tag_types let you add custom field types; vmcf7_message, vmcf7_default_message, vmcf7_placeholders and vmcf7_field_label filters let you read messages, set site-wide defaults and add your own {tokens}.
  • Lightweight — no admin bloat, no tracking, no upsells.

Supported field types

  • Required-field messages: any required tag (text, textarea, select, checkbox, radio, file, etc.).
  • Invalid-format messages: email, url, tel, number (including range), date, and time fields.
  • Custom error messages on validation failure: file (size/type checks), acceptance (unchecked/unaccepted state), and quiz (incorrect answer).
  • HTML inside messages is allowed and sanitized through wp_kses_post().
  • Custom Regex and Min/Max Length rules are available for every field type except file.

Translations

The plugin ships with a .pot file and is already translated into German, Spanish, French, Italian, Japanese, Polish, Portuguese (Brazil), Russian, and Ukrainian. Help translate it into your language.

Written by Joobi from the project's own listing. See the source page

cf7contact form 7error messagemultilingualvalidation
25 Nov 2026
Version 1.8.0 released. Not scanned yet.

1.8.0

  • New: the Custom Validation tab is redesigned. Each field is a card with its label, type and whether it is customized; extra rules (length, pattern, required only sometimes) sit behind one “Extra rules” switch; every card shows what visitors will see. Search, “only show customized fields” and open/close all help on long forms.
  • New: ready-made pattern examples and a “try an example answer” box that checks a pattern the same way the site does.
  • New: copy, back-up, template and “use on all forms” tools are grouped and explained, ask for confirmation inline and show the result in the panel instead of browser pop-ups.
  • New: when WPML String Translation or Polylang is active, the tab links straight to the screen where the messages are translated.
  • New: custom “wrong answer” message for quiz fields and “wrong file” message for file fields.
  • New: {min} and {max} work in every message; developer filters vmcf7_default_message, vmcf7_placeholders, vmcf7_field_label, vmcf7_supports_text_rules and vmcf7_swv_invalid_rules.
  • New: front-end error style can be changed with CSS custom properties (--vmcf7-error-color, --vmcf7-error-font-size and others).
  • New: Japanese, Italian and Polish translations.
  • Fix: the Contact Form 7 editor no longer asks “Leave site? Changes you made may not be saved” when nothing was changed.
  • Fix: custom messages and length limits now reach Contact Form 7 6.2+ client-side validation again (the schema hook silently did nothing on 6.2).
  • Fix: backslashes were stripped from saved patterns and messages (^\d+$ was stored as ^d+$), also on import, copy and “use on all forms”.
  • Fix: an invalid pattern no longer rejects every answer; a pattern or length rule on checkboxes or multi-selects no longer causes an error on submit.
  • Fix: copying a form’s rules onto the same form no longer erases them; rule-set tools accept only Contact Form 7 forms the user may edit, and import files are checked and size-limited.
  • Fix: WPML/Polylang received each message one save late, Polylang did not list the messages on its Translations screen, and then listed them twice.
  • Fix: the custom required message now also applies to acceptance checkboxes; required-if works when the other field’s name has capital letters.
  • Fix: AI Translate no longer sends patterns and numbers to the translator.
  • Fix: uninstall removes all plugin options; front-end styles also load for forms placed in widgets and templates.

1.7.2

  • Fix: opening Contact Add New with Flavor active no longer stops with a fatal error. A form that has not been saved yet has no ID, and Validation Muse now skips its translations until the form is saved.

1.7.1

  • Fix: the archive GitHub and Composer build from a tag no longer carries tests, development tooling and documentation, so a project that installs the plugin from Git gets only the plugin. No change to the plugin’s behavior.

1.7.0

  • New: the vmcf7_message filter hands a message written here to other code: apply_filters( 'vmcf7_message', $default, $form_id, $field_name, $type ) returns the custom message, or $default when none was written or custom validation is off for the form. Nothing changes for visitors unless other code asks.

1.6.5

  • New: a one-time, dismissible request to leave a review on WordPress.org. It appears only a week after you first save a custom validation message, only to users who can edit Contact Form 7 forms and only on the Contact Form 7 screens. “Maybe later” snoozes it for 30 days, “Don’t ask again” hides it for good. Nothing is sent anywhere.

1.6.4

  • Tested with WordPress 7.1 (verified on 7.1.1 with Contact Form 7 6.1).
  • Fix: removed calls deprecated in PHP 8.5 (finfo_close(), and ReflectionProperty::setAccessible() on PHP 8.1+), so the plugin no longer triggers deprecation notices on PHP 8.5.

1.6.3

  • i18n: fully regenerated the .pot translation template — the catalog was frozen since 1.2.0 and covered only about 20% of the plugin’s translatable strings (regex/length rules, rule templates, AI Translate errors, and more were never extractable before). All six shipped languages (German, Spanish, French, Portuguese, Russian, Ukrainian) are now fully translated against the current UI.
  • Docs: synced all translated readme files — feature list, supported field types, and FAQ now reflect 1.6.0–1.6.2 functionality (custom regex/length rules, required-if, native SWV client-side validation, rule templates); their Changelog/Upgrade Notice sections, previously stuck at 1.4.2, now cover every release up to 1.6.2.
  • Fix: added a missing translators: comment for a placeholder string (i18n code quality, no behavior change).

1.6.2

  • Fix: messages saved by versions prior to the plugin rename (stored under the legacy _cf7cv_ meta prefix) were invisible to the current code. A one-time migration now renames them to the _vmcf7_ prefix automatically, restoring lost messages. Collision-safe and runs once.

1.6.1

  • Fix: duplicate/overwritten validation messages on frontend by integrating with CF7’s native SWV engine.
  • Fix: admin panel drawers and preview cards rendered expanded due to CF7 editor panel stripping inline styles.

1.6.0

  • New: custom regex and min/max-length validation rules per field, each with its own message.
  • New: validation messages for file, acceptance, and quiz fields; conditional “required-if” messages.
  • New: message placeholder tokens {field_label}, {min}, {max}.
  • New: client-side inline validation mirroring the server messages, with aria-describedby accessibility.
  • New: live message preview, copy messages between forms, JSON import/export of message sets, and editor lint.
  • New: WPML/Polylang string registration alongside the Flavor bridge; translation import/export.

1.5.0

  • Minimum PHP raised to 8.0; minimum WordPress raised to 6.0; tested up to WordPress 7.0.
  • New: custom validation messages for time fields.
  • Clearer AI Translate error feedback in the form editor.
  • Reflection-based SWV message replacement now logs failures under WP_DEBUG for easier diagnosis.
  • Improved handling of pending translations (no more silent fallback) with per-request caching.
  • Code modernized to PHP 8 idioms; output escaping hardened; first unit-test suite added.

1.4.2

  • Plugin URI: now points to the dedicated landing page at https://plugins.symonov.com/validation-muse-for-cf7/
  • No code or behavior changes

1.4.1

  • Readme: USP-first rewrite for SEO discoverability
  • Tags: replaced generic messages/forms/customization with targeted contact-form-7, cf7, validation, error-message, multilingual
  • FAQ: added entries for CF7 6.x SWV compatibility, comparison with other CF7 validation plugins, and multilingual via Flavor

1.4.0

  • Added multilingual support via Flavor translation plugin integration
  • Validation messages can now be translated per language in the form editor
  • Language tabs appear automatically when Flavor plugin is active
  • AI Translate button for one-click machine translation of all messages
  • Translations stored in Flavor’s database, keeping plugin data portable
  • Zero overhead when Flavor is not installed — all calls behind class_exists() checks
  • Flavor translations cleaned up on plugin uninstall

1.3.0

  • Fixed compatibility with Contact Form 7 6.x SWV (Schema-based Validation)
  • Validation filters now run at priority 20 (after CF7 core) to replace SWV error messages
  • Added Reflection-based error replacement for already-invalidated fields
  • Custom messages now correctly override default CF7 “The field is required.” text

1.2.1

  • Fixed variable name mismatch causing “No required fields” error

1.2.0

  • Refactored codebase to follow WordPress Coding Standards
  • Reorganized file structure for better maintainability
  • Added PHPDoc blocks to all functions and methods
  • Improved accessibility with ARIA labels
  • Fixed JavaScript prefix inconsistency
  • Fixed uninstall script to use correct meta prefix
  • Added extensibility hooks (vmcf7_loaded, vmcf7_validation_tag_types)
  • Changed capability check from manage_options to wpcf7_edit_contact_forms
  • Updated POT file name to match text domain

1.1.2

  • Changed plugin name.

1.1.1

  • Added .gitignore file.

1.1.0

  • Added WordPress repository collateral (readme, license, POT file).
  • Reworked validation hooks to override required and invalid messages without relying on AJAX filters.
  • Hardened sanitization, text domain loading, and uninstall cleanup for release readiness.

1.0.1

  • Initial public iteration bundled with the project.
31 Jan 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)