WP Manifestindependent plugin directory
manifest / forms / mc-validate-replacement

MailChimp Validate Replacement

Introduces the MailChimp mc-validate.js functionality via a more performant JS.

by XWP · github.com/xwp/mc-validate-replacement · website

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/xwp/mc-validate-replacement/archive/refs/heads/main.zip

Readme

MailChimp Validate Replacement Plugin

Contributors: XWP Tags: mailchimp, validation, performance, javascript Requires at least: 6.5 Tested up to: 6.7.2 Stable tag: 1.0.0 License: GPLv2+ License URI: https://www.gnu.org/licenses/gpl-2.0.html

MC Validate Replacement is a WordPress plugin designed to replace the default MailChimp mc-validate.js script with a more performant, modern JavaScript solution for validating MailChimp signup forms embedded on your WordPress site.

Description

This plugin automatically dequeues the standard MailChimp validation script (if present) and enqueues a custom validation script (assets/js/mc-validate.min.js) and its associated styles (assets/css/mc-validate.css). The primary goal is to improve front-end performance by using a potentially lighter script and loading assets efficiently (deferring JavaScript, loading CSS asynchronously).

The validation logic is inspired by modern HTML5 form validation and provides user feedback for common input errors directly on the form.

Features

  • Replaces the default mc-validate.js downloaded from MailChimp.
  • Provides client-side validation for MailChimp forms using standard HTML5 validation attributes (required, type="email", minLength, maxLength, pattern, etc.).
  • Displays inline error messages for invalid fields.
  • Loads the validation JavaScript using the defer strategy for better performance.
  • Loads the associated CSS asynchronously with a `

Read the full README on GitHub →

Releases

TagPublished
1.0.1 Apr 8, 2025

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.