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.
Tagged:
0