Jump to content

Limit character length in text areas


Recommended Posts

There are several areas in IP.Board that uses a text area as opposed to a rich text editor. Many of these areas have a limited length. Unfortunately all IP.Board does in these areas is truncate the text and add a "..." to the end. It doesn't warn the user when they typed in too much text.

HTML5 supports the maxlength attribute for the text area tag. I'm not sure how this works when using an XHTML doctype, but many of the modern browsers do support this. It would be nice if these text areas implemented this attribute, or restricted the length using Javascript. Alternatively a warning when posting would also be useful.

All this would help people tailor their comments to fit within the defined parameters rather than finding out later that it got cut off.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...