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

Text Area - Character count issue



User has set maximum characters for a text area and enables the character count to be displayed. When text is entered, the new line character that must be counted as 2 appears as 1 in the character count. The character count display asks for more characters to be entered, but it does not accept any characters.
This is observed in Chrome v50.0.2661and works fine in Internet Explorer.

Error Messages

Not Applicable

Steps to Reproduce

1. Set maximum number of characters for a text area.
2. Enter text with a new line space. When characters still remain (shown in the character count), the text area does not accept.

Root Cause

In Chrome browser, the new line character is considered as 2 characters unlike in Internet Explorer and Firefox, hence Chrome specific implementation is required so that it maintains the character count after a browser refresh.


Apply HFix-27679.

Additional Installation Instructions:
1. Re-save the pzAssemblePreprocess activity to implement changes on existing sections.
2. Generate pzGenerateTextArea function.

Published May 27, 2016 - 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