How do I separate error messages with new lines?

samwallace881
Giga Expert

What I have done is on the Incident form, when you click on a certain account, the account note auto-fills in the notes section of the Incident form. If the customer has multiple lines of notes for their account, how do I make it so they show up on separate lines? because right now, they all show up on the same long line.

7 REPLIES 7

Chaithanya10
Tera Contributor

Hello,

 

you can use "<br\>" to make it in next line.

 

Ex message: "First line.Second line"

 

you should enter the string as "First line.<br\> <br\>second line"

 

output:

First line

Second Line

 

 

Note:Please accept the sution if it works for you.

I see this reply from multiple similar questions but it does not work and no one find it helpful. Can you take a screenshot on how this is done? Thank you!

Tushar Hirpurk1
Mega Guru

Hi Sam,

          Try Javascripts as: "<variable> \n <variable>"

for Ex:- 

Description = current.u_number+ ':' +current.u_category+  ','  + '\n' + description;

 

Please mark reply as Helpful/Correct, if applicable. Thanks!

 

Thanks

Tushar