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 Choice option of multiple choice variable in service catalog

Apoorva2
Kilo Contributor

Hi,

I have to hide choice option from multiple choice variable in catalog item

but my code is not working,here is my code :

function onLoad() {
g_form.removeOption('Select Type of request','disable_account');

}

 

 

12 REPLIES 12

Apoorva2
Kilo Contributor

Hi Murthy,

 

How can i get compelete id here?

Hi Apoorva,

Could you please use the developer options and find the complete id.

 

For example multiple choice is the radio button right, so 

PFA
find_real_file.png

 

Thanks,

Murthy

Thanks,
Murthy

Hi apporva,

Pls refer this one also it may be helpful:

 

https://community.servicenow.com/community?id=community_question&sys_id=4ebc0fe5db9cdbc01dcaf3231f9619cb

 

Thanks,

Murthy

Thanks,
Murthy