Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Line breaks in showFieldMsg()?

Joey Wan Kenobi
Tera Guru

Hello,

Does anyone know of a way to insert line breaks in a field message within the showFieldMsg() method?

Tongue Twister not intended.

Thanks

18 REPLIES 18

This does work. Should be accepted answer.

What version are you on, I'm trying <br /> but it doesn't work. <br \> is incorrect HTML

It also didn't worked for me

Neither \n or <br> will work in a showFieldMsg. Why do people post this stuff without trying it themselves?

***If Correct/Helpful please take time mark as Correct/Helpful. It is much appreciated.***

Regards

Paul