hide section Notes in incident form

Not applicable

How can I hide the Notes section in the incident form????

using a Client Script onLoad???

 

 

LeonardoMirand_0-1684352607078.png

 

2 ACCEPTED SOLUTIONS

Steven Parker
Giga Sage

You can hide it using the following onLoad Client Script:

 

function onLoad() {
   //Type appropriate comment here, and begin script below
   g_form.setSectionDisplay('notes', false);
}

 

 

StevenParker_0-1684353484115.png

 

Obviously you can put some If logic around it if you only want it hidden under certain conditions OR make it an onChange client script if you want to hide it when something changes.

View solution in original post

This article explains it...the first section in the yellow box:

http://servicenowguru.com/scripting/client-scripts-scripting/showhide-form-section/ 

 

If you configure the form layout, you can see all the sections (tabs) under the View Name - Default View.

View solution in original post

4 REPLIES 4

Steven Parker
Giga Sage

You can hide it using the following onLoad Client Script:

 

function onLoad() {
   //Type appropriate comment here, and begin script below
   g_form.setSectionDisplay('notes', false);
}

 

 

StevenParker_0-1684353484115.png

 

Obviously you can put some If logic around it if you only want it hidden under certain conditions OR make it an onChange client script if you want to hide it when something changes.

Not applicable

How did you get the name of this section????

This article explains it...the first section in the yellow box:

http://servicenowguru.com/scripting/client-scripts-scripting/showhide-form-section/ 

 

If you configure the form layout, you can see all the sections (tabs) under the View Name - Default View.

HagosT
Tera Guru