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

Mike Allen
Mega Sage

Can you use the \n break?


I should have mentioned, i tried \n and <br> to no avail.


Yeah, I just tried in demo to no avail, either.


Multiple showFieldMsg()?   Looks a little wonky, but it will serve its purpose.