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

MailChimp Validate Replacement

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

★ 1stars
1.0.1latest · 1 year ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/xwp/mc-validate-replacement/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

MailChimp Validate Replacement Plugin

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 `

Releases

1 release.

Tag
Published
1.0.1 latest
Apr 8, 2025 1 year ago

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