Display string with new line in g_form.showFieldMsg()

tapannigam
Giga Contributor

Hi All, 

I am using method g_form.showFieldMsg() to display string, need to display string with new line as given below 

a. String one
b. String two

tried to use "\n" as "a. String one" + "\n" + "b. String two" however it didn't work in this case & got message in a one line format.
Any idea how to achieve this?

Regards,
Tapan Nigam

 

 

 

6 REPLIES 6

This doesn't work.

anezka_neckarov
Tera Contributor

I just tried it and <br> works in g_form.addInfoMessage() but no in g_form.showFieldMsg().

You have to create second g_form.showFieldMsg()