Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

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

@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  ||  10x 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