Title: Comment Form Inline Errors
Author: latorante
Published: <strong>11 Tháng 9, 2013</strong>
Last modified: 14 Tháng 11, 2013

---

Tìm kiếm plugin

![](https://ps.w.org/comment-form-inline-errors/assets/banner-772x250.png?rev=804568)

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# Comment Form Inline Errors

 Bởi [latorante](https://profiles.wordpress.org/latorante/)

[Tải về](https://downloads.wordpress.org/plugin/comment-form-inline-errors.1.0.2.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/comment-form-inline-errors/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/comment-form-inline-errors/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/comment-form-inline-errors/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/comment-form-inline-errors/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/comment-form-inline-errors/)

## Mô tả

This plugin takes care of WordPress inner comments error handling, and shows comment
errors above the form, instead of using the weird grey page with single line error
description. All this **out-of-the-box**.

It also **remembers** what you’ve typed in. So for example, if you fill in the comment
form, and send it and forget required field, it will show the error above the form,
and prefills the form with values you’ve submitted so you don’t have to retype them
again (which is annoying).

By default, the plugin prints the error in this markup:

    ```
    <div id="formError" class="formError" style="color:red;">
        <p>--error-here--</p>
    </div><div class="clear clearfix"></div>
    ```

So it should be quite easy for you to style it in your css file with `".formError"`
or `"#formError"`, you know the drill :). The default red colour is there just in
case you won’t be able to style and since it’s error, red seems appropriate.

**By the way,** if you’ve customised your comment form with new fields, and you’re
using the `preprocess_comment` hook, with the correct WordPress way of handeling
errors, which is using `wp_die` on error encounter, this plugin will play nicely
with that, and display your error messsage above the form as well.

## Ảnh màn hình

[⌊This shows form error before plugin activation, and after.⌉⌊This shows form error
before plugin activation, and after.⌉[

This shows form error before plugin activation, and after.

[⌊With plugin activated, before submitting our comment.⌉⌊With plugin activated, 
before submitting our comment.⌉[

With plugin activated, before submitting our comment.

[⌊With plugin activated, after comment submission.⌉⌊With plugin activated, after
comment submission.⌉[

With plugin activated, after comment submission.

## Cài đặt

 1. Go to your admin area and select Plugins -> Add new from the menu.
 2. Search for “Comment Form Inline Errors”.
 3. Click install.
 4. Click activate.

## Hỏi đáp

  It doesn’t do anything, what should I do?

If that is the case, deactivate the plugin, delete it, and move on :).

  I have a costum post type with comments support, will this work with it?

**Yes,** it will.

  I have my own custom comment form fields, will it remember the values of those
after error as well?

Do you know what? It actually might, if they are hooked in `comment_form_default_fields`,
but it only checks for inputs[text] and textareas tho :).

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Comment Form Inline Errors” là mã nguồn mở. Những người sau đã đóng góp vào plugin
này.

Những người đóng góp

 *   [ latorante ](https://profiles.wordpress.org/latorante/)

[Dịch “Comment Form Inline Errors” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/comment-form-inline-errors)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/comment-form-inline-errors/),
check out [SVN repository](https://plugins.svn.wordpress.org/comment-form-inline-errors/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/comment-form-inline-errors/)
qua [RSS](https://plugins.trac.wordpress.org/log/comment-form-inline-errors/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.2

 * Tested on new WP version.

#### 1.0.1.1

 * Fixed spelling.

#### 1.0.1

 * Fixed backslash issue.

#### 1.0

 * Plugin released.

## Meta

 *  Phiên bản **1.0.2**
 *  Cập nhật lần cuối **13 năm trước**
 *  Số lượt cài đặt **20+**
 *  Phiên bản WordPress ** 3.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **3.7.41**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/comment-form-inline-errors/)
 * Thẻ
 * [comment](https://vi.wordpress.org/plugins/tags/comment/)[comments](https://vi.wordpress.org/plugins/tags/comments/)
   [errors](https://vi.wordpress.org/plugins/tags/errors/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/comment-form-inline-errors/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/comment-form-inline-errors/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/comment-form-inline-errors/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/comment-form-inline-errors/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/comment-form-inline-errors/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/comment-form-inline-errors/reviews/?filter=1)

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/comment-form-inline-errors/reviews/)

## Những người đóng góp

 *   [ latorante ](https://profiles.wordpress.org/latorante/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/comment-form-inline-errors/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](http://donate.latorante.name/)