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

Truncated text with max characters in text area



Text area on the screen with Max Characters as 1800.

User enters the text (which includes new lines), and system allows to enters the text but while saving it truncates the characters at the end.

Also the behavior is different in Internet Explorer, Firefox, Chrome.

Error Messages

Not Applicable

Steps to Reproduce

1) Include a text area in UI with Max length as 1800.
2) Enter text of length 1800 with new lines and save.
3) Observe that the text gets truncated from the end.

Root Cause

In case of Internet Explorer 11 and Firefox browse, when entering text in the text area, one can see that the Internet Explorer and Firefox takes one character for an enter key, and at the time of processing it takes 2 bytes.

In case of Chrome:
When entering text in the text area, we see that chrome takes two character for an enter key, and at the time of processing also it takes 2 bytes.


Apply HFix-30750.

This HFix resolves the issue in Chrome but not in
Internet Explorer and FireFox, as they are browser default behavior which cannot be handled by Pega.

Published March 16, 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