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

TextArea character counter for Newline different in IE browser



Character counter, for text containing a Newline (Enter key) character, in the TextArea control configured with maximum characters displays the characters remaining, differently in Internet Explorer and Chrome browsers.

Error Messages

Not Applicable

Steps to Reproduce

  1. Configure the TextArea control with maximum characters and enable the display counter
  2. Enter text containing a Newline character in the TextArea control
  3. Observe the count of the remaining characters, in Internet Explorer and Chrome browsers, for the TextArea control
  4. Click Save
  5. Repeat Step 3

Root Cause

Difference in the character counter was due to the browser's interpretation of the Newline character. The Internet Explorer saved the Newline character as a single character, while Chrome saved it as two characters.


Apply HFix-37047 to:
  • Allow Internet Explorer to count two characters for Newline.
  • Not allow a user to type any character when the counter displays remaining characters as 0.
  • Ensure that Internet Explorer and Chrome have the same behaviour.
Additional installation instructions:
  1. After deployment, open the PZGENERATETEXTAREA file.
  2. Click the Generate Function option.
  3. Save the section.

Published October 11, 2017 - 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