Prateek kumar
Giga Sage
function onLoad() 
{ 
g_form.showFieldMsg("u_review", ("5 - Exceeds" +'\n'+ "4 - Meets")); 
callback(saveAndClose);
 }

Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Prateek,

  This is what I get when I use that code.  Is there a different option I can use to get my needed results?

 

find_real_file.png

Try this out:

Make sure you uncheck Isolate script field on the record.

find_real_file.png

function onLoad() {
var str = "5 - Exceeds" +"\n"+ "4 - Meets";
alert(str);
var controlID = g_form.getControl('u_review').id + '_fieldmsg'; 
g_form.showFieldMsg('u_review', str); 
document.getElementById(controlID).style.whiteSpace = 'pre-wrap'; 
callback(saveAndClose);

}

 


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

It shows on 2 different lines but not the type of info message I was looking for.  I like the blue bar message right below the field.

 

find_real_file.png

I just put an alert to confirm.

You can comment out the alert line in your code.

find_real_file.png


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Bekijk de oplossing in de community in het oorspronkelijke bericht