How to increase the font size in gs.addInfoMessage()

Sai Akhil
Tera Contributor

Hello all,

Is there a way to make  the font size bigger and  stay on screen longer in the addInfoMessage(), please let me know how to achieve this.

Thanks in advance,

Akhil.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Sai Akhil 

Example

BR:

(function executeRule(current, previous /*null when async*/) {

	// Add your code here
	
	var message = '<font size="7">My Message</font>';
	gs.addInfoMessage(message);

})(current, previous);

Output:

find_real_file.png

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Hello @Ankur Bawiskar 

Can we increase font size in g_form.showFieldMsg() ?

Thanks