Title: maxlength
Last modified: February 20, 2018

---

# maxlength

 *  [dover88](https://wordpress.org/support/users/dover88/)
 * (@dover88)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/maxlength-2/)
 * Is there a way, either in the javascript code or the php code, to add a maxlength
   value to the comment field? I would like to limit the comment field to a certain
   number of characters.

The topic ‘maxlength’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-advance-comment_d83d90.svg)
 * [WP Advanced Comment](https://wordpress.org/plugins/wp-advance-comment/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-advance-comment/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-advance-comment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-advance-comment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-advance-comment/reviews/)

## Tags

 * [character](https://wordpress.org/support/topic-tag/character/)
 * [comment](https://wordpress.org/support/topic-tag/comment/)
 * [length](https://wordpress.org/support/topic-tag/length/)
 * [max](https://wordpress.org/support/topic-tag/max/)
 * [maxlength](https://wordpress.org/support/topic-tag/maxlength/)

 * 0 replies
 * 1 participant
 * Last reply from: [dover88](https://wordpress.org/support/users/dover88/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/maxlength-2/)
 * Status: not resolved