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 enter a carriage return in a message in a text area?

Summary:

In a text area, we may want to add different lines based on an attribute setting. These are being appended to messages already in the text area. chr(13) does not work. What can we use to accomplish this?

Content (please ensure you mask any confidential information):

An example. Message exists in the text area as "Ship on Fridays only". With a certain selection for an attribute, we also want to include "Do not ship on the last Friday of the month". This is entered as result = attribute. If newattribute == "Y", result = "Do not ship on the last Friday of the month" + chr(13) + result.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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