We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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);

Not applicable

Hi @prash4 ,

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