Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Issue with max allowed characters of text area



You have a text area field with a maximum allowable character limit. When entering a newline character, it itakes up two characters in IE 8. This can be verified by typing to the maximum character limit and inserting a new line in the middle. Two trailing characters are removed rather than one.

Error Messages

Not Applicable.

Steps to Reproduce

  1. Configure a text area with a maximum size of 20 and also configure it to show the remaining character count.
  2. Enter 20 characters (maximum allowable characters).
  3. Enter a line break at the middle of the characters. It should delete two trailing characters.

Root Cause

The root cause of this problem is the newline is being interpreted by the browser as '\r\n' and counted as two characters. 


The newline is being interpreted by the browser as '\r\n' and counted as two characters. Thus, when you enter a new line character, it takes up two characters.

Published July 9, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us