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

New line characters are introduced when using TextArea control



New line characters are introduced when using the TextArea control. This results in storage issues in the database.

Error Messages

Not Applicable.

Steps to Reproduce

  1. Log in to the application
  2. Create a TextArea control
  3. Enter data in multiple lines

Root Cause

A software use or operation error.


Perform the one of the following local-changes:
  • Replace the TextArea control with a TextInput control. The TextInput control prevents the user from entering multiple lines so your expected format of text will be stored.
  • Use the following string function to replace the line breaks (\n) with the preferred string:
    a. Create a data transform
    b. Set the .Desription1 property with the string function as 
    The .myTextArea is text property which is equal to .Description1 in the use case

    c. Use the data tansform or function to format the string in the application



Published August 19, 2019 - 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