Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How can remove the section "label" in my change form?

Aryan
Tera Contributor

Hi All,

 

How can i remove the below section from my change request form. I tired from form layout , UI police to hide it but nothing works.

 

Aryan_0-1729684901720.png

 

3 REPLIES 3

anshul_goyal
Kilo Sage

Hi @Aryan,

You can try using the following line of code in the client script:

 g_form.setSectionDisplay('label', false);

 
Please mark my solution as Helpful and Accepted, if it works for you in any way!

Thanks

Hi Anshul,

 

Thank you for your reply, i tried this but it is not working.

This 'label' is auto-created somehow and I am unable to find it in backend.

 

@AryanFeel free to refer to the article below if you find it helpful:

https://servicenowguru.com/system-definition/showhide-form-section/

Thanks