SaaS With ServiceNow

Lets do some interesting!

How to hide/show a section

Requirement: Show resolution section only when state is “Resolved/Closed”in incident form

If you want to hide a form section, you need to create a client script.

Name: Show/hide resolution section
Table: Incident
Type: Onchange
Field name: State

function onChange(control,newValue,oldValue,isLoading){
if (isLoading)
var sections = g_form.getSections();
var state = g_form.getValue(‘state’);
if (state == ‘6’|| state==’7′)
sections[3].style.display = ‘block’;
sections[3].style.display = ‘none’;

6 Tips for Understanding and Managing ServiceNow Groups

Learning ServiceNow from Scratch and Prepping for the Certification Exam


ServiceNow-System Administration Course Syllabus

Powered by

Up ↑


Get every new post delivered to your Inbox.

Join 176 other followers