Title: Comment Validation
Author: joern.zaefferer
Published: <strong>2008 年 11 月 15 日</strong>
Last modified: 2010 年 4 月 25 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/comment-validation.svg)

# Comment Validation

 作者：[joern.zaefferer](https://profiles.wordpress.org/joernzaefferer/)

[下载](https://downloads.wordpress.org/plugin/comment-validation.zip)

 * [详情](https://cn.wordpress.org/plugins/comment-validation/#description)
 * [评价](https://cn.wordpress.org/plugins/comment-validation/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/comment-validation/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/comment-validation/#developers)

 [支持](https://wordpress.org/support/plugin/comment-validation/)

## 描述

Ever got annoyed when submitting a comment on a wordpress blog and just getting 
a blank page with a error message like “please fill out required fields” and nothing
else? This plugin aims to help by adding validation to the comment form. When a 
user submits the form and something is missing, an appropiate message is displayed
and individual fields are highlighted. When the email or url is in an incorrect 
format, a message is displayed accordingly.

**Why should you install it?** Because you care for comments and want to help users
reduce mistakes that hold them off from commenting at all.

**Whats the technology used?** [jQuery](http://jquery.com) and the [jQuery Validation plugin](http://bassistance.de/jquery-plugins/jquery-plugin-validation/)
with a few customizations to make it fit into the standard WordPress theme.

**Is it compatible with other plugins?** The plugin is tested with the [Draw Comments](https://wordpress.org/extend/plugins/draw-comments/)
plugin and works, though the performance is slightly degraded. Other plugins haven’t
yet been tested.

## 屏幕截图

[⌊A form submit without filling out any fields⌉⌊A form submit without filling out
any fields⌉[

A form submit without filling out any fields

[⌊A form submit with valid name and comment, but invalid format for email (, instead
of . in domain) and url (one slash is missing).
Clicking on the message gives focus
to the related input field.⌉⌊A form submit with valid name and comment, but invalid
format for email (, instead of . in domain) and url (one slash is missing).
Clicking
on the message gives focus to the related input field.⌉[

A form submit with valid name and comment, but invalid format for email (, instead
of . in domain) and url (one slash is missing). Clicking on the message gives focus
to the related input field.

## 安装

 1. Upload the `comment-validation` folder to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 评价

此插件暂无评价。

## 贡献者及开发者

「Comment Validation」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ joern.zaefferer ](https://profiles.wordpress.org/joernzaefferer/)

[帮助将「Comment Validation」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/comment-validation)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/comment-validation/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/comment-validation/)，或通过[RSS](https://plugins.trac.wordpress.org/log/comment-validation/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/comment-validation/)。

## 额外信息

 *  版本 **0.4**
 *  最后更新：**16 年前**
 *  活跃安装数量 **700+**
 *  WordPress 版本 ** 2.0.0 或更高版本 **
 *  已测试的最高版本为 **2.9.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/comment-validation/)
 * 标签
 * [client side](https://cn.wordpress.org/plugins/tags/client-side/)[comments](https://cn.wordpress.org/plugins/tags/comments/)
   [validation](https://cn.wordpress.org/plugins/tags/validation/)
 *  [高级视图](https://cn.wordpress.org/plugins/comment-validation/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/comment-validation/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/comment-validation/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/comment-validation/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/comment-validation/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/comment-validation/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/comment-validation/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/comment-validation/reviews/)

## 贡献者

 *   [ joern.zaefferer ](https://profiles.wordpress.org/joernzaefferer/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/comment-validation/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://bassistance.de/wordpress-plugins/)