Title: Comment Form Inline Errors
Author: latorante
Published: <strong>11 ກັນຍາ 2013</strong>
Last modified: 14 ພະຈິກ 2013

---

ຄົ້ນຫາປລັກອິນ

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

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

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

# Comment Form Inline Errors

 ໂດຍ [latorante](https://profiles.wordpress.org/latorante/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/comment-form-inline-errors.1.0.2.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/comment-form-inline-errors/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/comment-form-inline-errors/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/comment-form-inline-errors/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/comment-form-inline-errors/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/comment-form-inline-errors/)

## ຄຳອະທິບາຍ

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.

## ພາບໜ້າຈໍ

[⌊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.

## ການຕິດຕັ້ງ

 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.

## ຄຳຖາມທີ່ພົບເລື້ອຍ

  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 :).

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Comment Form Inline Errors” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້
ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

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

[ແປ “Comment Form Inline Errors” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/comment-form-inline-errors)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/comment-form-inline-errors/),
ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/comment-form-inline-errors/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/comment-form-inline-errors/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/comment-form-inline-errors/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 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)

 *  ເວີຊັນ **1.0.2**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **13 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **20+**
 *  ເວີຊັນ WordPress ** 3.0 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3.7.41**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/comment-form-inline-errors/)
 * ແທັກ
 * [comment](https://lo.wordpress.org/plugins/tags/comment/)[comments](https://lo.wordpress.org/plugins/tags/comments/)
   [errors](https://lo.wordpress.org/plugins/tags/errors/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/comment-form-inline-errors/advanced/)

## ການໃຫ້ຄະແນນ

 5 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 2 ລາຍການ     ](https://wordpress.org/support/plugin/comment-form-inline-errors/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/comment-form-inline-errors/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/comment-form-inline-errors/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/comment-form-inline-errors/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 0 ລາຍການ     ](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)

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/comment-form-inline-errors/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

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

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/comment-form-inline-errors/)

## ບໍລິຈາກ

ເຈົ້າຕ້ອງການສະໜັບສະໜູນການພັດທະນາຂອງປລັກອິນນີ້ບໍ່?

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](http://donate.latorante.name/)