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.

Hide section in demand form

prash4
Tera Expert

Hi 

can some one help me with a code to hide section (questionnaire) in demand form.

UI policy or client script ? 

 

prash4_0-1707746488262.png 

 

6 REPLIES 6

Take the carets out in your "Questionaire" string.

Should look like this.  g_form.setSectionDisplay('Questionaire', false);

Community Alums
Not applicable

Hi @prash4 ,

Just use  g_form.setSectionDisplay('Questionaire', false);       NOT "<Questionaire>"