PHPackages                             wearerequired/js-comment-form-validation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. wearerequired/js-comment-form-validation

ActiveWordpress-plugin[Validation &amp; Sanitization](/categories/validation)

wearerequired/js-comment-form-validation
========================================

WordPress plugin to add simple comment form validation based on the jQuery Validation plugin.

1.2.0(7y ago)06.9k[4 PRs](https://github.com/wearerequired/js-comment-form-validation/pulls)GPL-2.0-or-laterPHPPHP &gt;=5.6

Since May 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/wearerequired/js-comment-form-validation)[ Packagist](https://packagist.org/packages/wearerequired/js-comment-form-validation)[ Docs](https://github.com/wearerequired/js-comment-form-validation)[ RSS](/packages/wearerequired-js-comment-form-validation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (9)Used By (0)

JS Comment Form Validation
==========================

[](#js-comment-form-validation)

Easy to use client-side form validation for WordPress comments.

Inspired by [Instant Comment Validation](https://wordpress.org/plugins/instant-comment-validation/). Powered by the [jQuery Validation](https://github.com/jquery-validation/jquery-validation) plugin.

Hooks &amp; Filters
-------------------

[](#hooks--filters)

The plugin provides a filter to change the settings passed to the JavaScript.

### `js_comment_form_validation_settings` Filter

[](#js_comment_form_validation_settings-filter)

Allows you to filter the data that is sent to the JavaScript, like error messages and minimum required comment length.

```
add_filter( 'js_comment_form_validation_settings', function( $script_data ) {
	$script_data['rules']['url']['required'] = true;

 	return $script_data;
} );
```

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~241 days

Total

4

Last Release

2563d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1446895?v=4)[required](/maintainers/wearerequired)[@wearerequired](https://github.com/wearerequired)

---

Top Contributors

[![swissspidy](https://avatars.githubusercontent.com/u/841956?v=4)](https://github.com/swissspidy "swissspidy (8 commits)")[![grappler](https://avatars.githubusercontent.com/u/1785641?v=4)](https://github.com/grappler "grappler (6 commits)")[![ocean90](https://avatars.githubusercontent.com/u/617637?v=4)](https://github.com/ocean90 "ocean90 (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")

---

Tags

commentsjqueryjquery-validationwordpress-pluginvalidationwordpressjquerycommentscomment-form

### Embed Badge

![Health badge](/badges/wearerequired-js-comment-form-validation/health.svg)

```
[![Health](https://phpackages.com/badges/wearerequired-js-comment-form-validation/health.svg)](https://phpackages.com/packages/wearerequired-js-comment-form-validation)
```

###  Alternatives

[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[phpexperts/datatype-validator

An easy to use data type validator (both strict and fuzzy).

141.1M2](/packages/phpexperts-datatype-validator)[hybridlogic/validation

A simple, extensible validation library for PHP with support for filtering and validating any input array along with generating client side validation code.

641.1k](/packages/hybridlogic-validation)[bllim/laravel-to-jquery-validation

This package makes validation rules defined in laravel work client-side by converting to jquery validation rules. It uses Jquery Validation Plugin. It also allows to use laravel validation messages so you can show same messages for both sides.

283.1k](/packages/bllim-laravel-to-jquery-validation)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
