showFieldMsg - not scrolling to field

Community Alums
Not applicable

Hi All,

I am using the demo instance of ServiceNow and is running on Istanbul build.

I am facing an issue of showFieldMsg when I set the scrollForm to true, but in SP it still did not scroll to the desired field although it was off-screen.

Below is a sample script I wrote in Catalog Client Script.

function onLoad() {

    //Type appropriate comment here, and begin script below

    g_form.showFieldMsg('test','a message to see if form will be scroll to here','error',true);

}

Is there any other workaround to scroll to the desired field?

using

1 ACCEPTED SOLUTION
1 REPLY 1