Title: HP Comment Form Validation
Author: Hitesh Prajapati
Published: <strong>28 de septiembre de 2021</strong>
Last modified: 24 de agosto de 2026

---

Buscar plugins

![](https://ps.w.org/blog-comment-form-jquery-validation/assets/banner-772x250.png?
rev=3663300)

![](https://ps.w.org/blog-comment-form-jquery-validation/assets/icon-256x256.png?
rev=3663300)

# HP Comment Form Validation

 Por [Hitesh Prajapati](https://profiles.wordpress.org/hiteshvpra/)

[Descargar](https://downloads.wordpress.org/plugin/blog-comment-form-jquery-validation.2.0.0.zip)

 * [Detalles](https://es.wordpress.org/plugins/blog-comment-form-jquery-validation/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/blog-comment-form-jquery-validation/#reviews)
 *  [Instalación](https://es.wordpress.org/plugins/blog-comment-form-jquery-validation/#installation)
 * [Desarrollo](https://es.wordpress.org/plugins/blog-comment-form-jquery-validation/#developers)

 [Soporte](https://wordpress.org/support/plugin/blog-comment-form-jquery-validation/)

## Descripción

HP Comment Form Validation adds lightweight, user-friendly validation to the native
WordPress comment form.
 It improves the comment submission experience by showing
clear validation messages directly next to invalid fields while keeping WordPress
Core responsible for the actual comment workflow. The plugin is intentionally simple
and lightweight. There are no settings pages, database tables, external APIs, subscriptions,
advertisements, or tracking.

#### Features

 * Validates the comment field.
 * Validates required author name.
 * Validates required email address.
 * Validates email address format.
 * Validates optional website URLs.
 * Respects the WordPress «Comment author must fill out name and email» setting.
 * Works for logged-in and logged-out users.
 * Supports native WordPress comment forms.
 * Provides accessible validation feedback.
 * Focuses the first invalid field after submission.
 * Adds ARIA validation attributes for assistive technologies.
 * Includes server-side validation.
 * Works without jQuery.
 * Loads frontend assets only where comments are available.
 * Does not create database tables.
 * Does not store plugin settings.
 * Does not collect analytics.
 * Does not connect to external services.
 * Does not display subscription or upgrade notices.
 * Translation ready.
 * Lightweight and developer friendly.

#### How It Works

After activation, the plugin automatically enhances the standard WordPress comment
form.
 No configuration is required. When a visitor submits an invalid comment form,
HP Comment Form Validation displays an appropriate validation message next to the
affected field. The plugin respects your existing WordPress Discussion settings.
For example, when: «Comment author must fill out name and email» is enabled under
Settings > Discussion, the plugin requires those fields for logged-out visitors.
When the setting is disabled, name and email remain optional. Logged-in users are
validated according to the fields WordPress displays to them.

#### Validation Layers

HP Comment Form Validation uses multiple validation layers:
 1. Accessible frontend
JavaScript validation for immediate feedback. 2. Server-side PHP validation when
comments are submitted. 3. The standard WordPress Core comment processing system.
JavaScript is used only to improve the user experience. Server-side validation remains
available even if frontend JavaScript is disabled or bypassed.

#### Lightweight by Design

HP Comment Form Validation does not attempt to replace the WordPress comment system.

It does not: * Create custom comment tables. * Replace wp-comments-post.php. * Create
unnecessary WordPress options. * Add an admin dashboard. * Load a JavaScript framework.*
Require jQuery. * Connect to a SaaS service. * Require registration or an account.*
Add advertisements. * Track visitors or administrators. The goal is simple: improve
native WordPress comment validation while keeping the plugin small and maintainable.

#### Privacy

HP Comment Form Validation does not collect, store, transmit, or process additional
personal data of its own.
 The plugin validates fields already provided by the native
WordPress comment system, such as: * Name * Email address * Website URL * Comment
content Storage and processing of submitted comments remain handled by WordPress
Core and your website’s existing configuration. The plugin: * Does not use tracking
cookies. * Does not collect analytics. * Does not contact third-party services. *
Does not create its own database records. * Does not transmit visitor data externally.
Site owners remain responsible for providing an appropriate privacy policy for the
WordPress comment system and any other services used on their website.

#### Accessibility

The plugin is designed to provide accessible validation feedback.
 Validation includes:*`
aria-invalid` for invalid form controls. * `aria-describedby` associations between
fields and validation messages. * Accessible validation messages. * Keyboard-compatible
form submission. * Focus management for the first invalid field. * Theme-friendly
validation markup. Accessibility will continue to be reviewed as the plugin evolves.

#### Compatibility

HP Comment Form Validation is designed for the native WordPress comment form generated
through standard WordPress APIs.
 It should work with most properly developed WordPress
themes that use the standard comment form structure. Themes or plugins that completely
replace the WordPress comment form or comment submission process may require additional
compatibility work. If you discover a compatibility issue, please report it through
the WordPress.org support forum.

## Instalación

 1. Install HP Comment Form Validation from the WordPress Plugin Directory, or upload
    the plugin files to `/wp-content/plugins/blog-comment-form-jquery-validation/`.
 2. Activate the plugin through the Plugins screen in WordPress.
 3. Open a post where comments are enabled.
 4. The native WordPress comment form will automatically receive enhanced validation.
    
    No configuration is required.

## FAQ

### Do I need jQuery?

No.
 Version 2.0.0 uses modern vanilla JavaScript and does not require jQuery.

### Does the plugin create database tables?

No.
 The plugin does not create custom database tables.

### Does the plugin save settings?

No.
 There is currently no plugin settings page because the plugin works automatically
with your existing WordPress Discussion settings.

### Does the plugin collect personal information?

No additional information is collected by the plugin.
 It validates the fields already
present in the native WordPress comment form. WordPress Core remains responsible
for processing and storing submitted comments.

### Does it work for logged-in users?

Yes.
 Logged-in visitors are validated using the comment fields available to them.

### Does it respect WordPress Discussion settings?

Yes.
 The plugin respects the WordPress setting that determines whether comment 
authors must provide their name and email address.

### Does the plugin replace WordPress comment validation?

No.
 It enhances the frontend experience and adds an additional server-side validation
layer while allowing WordPress Core to continue handling comment processing.

### Can I use it without JavaScript?

Yes.
 Frontend validation requires JavaScript for immediate inline feedback, but
server-side validation continues to protect the comment submission when JavaScript
is unavailable.

### Does it work with custom themes?

The plugin is designed for themes using the standard WordPress comment form APIs
and standard comment field identifiers.
 Themes that completely replace the native
comment system may require specific compatibility support.

### Is there a premium version?

No.
 HP Comment Form Validation is currently completely free. There is no premium
version, subscription requirement, license key, or feature restriction.

### Does the plugin send data to external servers?

No.
 The plugin does not communicate with external services.

### Can I translate the plugin?

Yes.
 HP Comment Form Validation is translation ready and uses the WordPress.org
translation system.

## Reseñas

No hay valoraciones para este plugin.

## Colaboradores y desarrolladores

«HP Comment Form Validation» es un software de código abierto. Las siguientes personas
han colaborado con este plugin.

Colaboradores

 *   [ Hitesh Prajapati ](https://profiles.wordpress.org/hiteshvpra/)

[Traduce «HP Comment Form Validation» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/blog-comment-form-jquery-validation)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/blog-comment-form-jquery-validation/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/blog-comment-form-jquery-validation/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/blog-comment-form-jquery-validation/)
por [RSS](https://plugins.trac.wordpress.org/log/blog-comment-form-jquery-validation/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 2.0.0

 * Rebranded the plugin as HP Comment Form Validation.
 * Rebuilt the frontend validation system.
 * Removed the jQuery dependency.
 * Added server-side comment validation.
 * Added validation for whitespace-only comments.
 * Added email format validation.
 * Added optional website URL validation.
 * Added support for WordPress Discussion name and email requirements.
 * Improved support for logged-in users.
 * Improved native WordPress theme compatibility.
 * Added accessible inline validation messages.
 * Added `aria-invalid` support.
 * Added `aria-describedby` support.
 * Added accessible validation announcements.
 * Added first-invalid-field focus handling.
 * Improved validation when submitting through the form rather than only the submit
   button.
 * Improved conditional frontend asset loading.
 * Added runtime WordPress and PHP requirement checks.
 * Improved plugin file organization.
 * Added clean uninstall handling.
 * Improved internationalization support.
 * Added privacy documentation.
 * Updated WordPress compatibility information.
 * Updated PHP compatibility requirements.
 * Improved coding standards and maintainability.

#### 1.0.1

 * Previous public release.

## Meta

 *  Versión **2.0.0**
 *  Última actualización **hace 4 semanas**
 *  Instalaciones activas **10+**
 *  Versión de WordPress ** 6.5 o superior **
 *  Probado hasta **7.1.1**
 *  Versión de PHP ** 8.0 o superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/blog-comment-form-jquery-validation/)
 * Etiquetas:
 * [accessibility](https://es.wordpress.org/plugins/tags/accessibility/)[comment form](https://es.wordpress.org/plugins/tags/comment-form/)
   [comments](https://es.wordpress.org/plugins/tags/comments/)[form validation](https://es.wordpress.org/plugins/tags/form-validation/)
   [validation](https://es.wordpress.org/plugins/tags/validation/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/blog-comment-form-jquery-validation/advanced/)

## Valoraciones

Aún no se han enviado valoraciones.

[Tu valoración](https://wordpress.org/support/plugin/blog-comment-form-jquery-validation/reviews/#new-post)

[Ver todas las reseñas](https://wordpress.org/support/plugin/blog-comment-form-jquery-validation/reviews/)

## Colaboradores

 *   [ Hitesh Prajapati ](https://profiles.wordpress.org/hiteshvpra/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/blog-comment-form-jquery-validation/)