You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to get OJ Text Area to preserve new lines when the user enters text

Accepted answer
63
Views
5
Comments
edited Jan 3, 2024 4:47PM in Visual Builder 5 comments

Summary:

As part of a customer contact message - the user fills out a text area and this is sent to an email provider API (simply, someone fills in a oj-textarea and then presses a button, the text area is stored as a variable and sent to a REST).

The issue is that the oj-textarea does not preserve/ retain any new lines, so the email is just one block of text rather than a formatted text with break points...

Same occurs when testing this issue with a fire notification.

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!