How to hide Variables in a RITM when a specific field is selected?

jesusnava
Giga Expert

Hello Everyone,

Please I need your help, I created a catalog item in which if the user selects a specific choice, the user will see other options to answer, for example:

(variable name: select_sub_category )

find_real_file.png

User selected the second one, furthermore, 4 other fields show:

find_real_file.png

My question here is , if the user does not select the second option like in this example, the extra 4 fields will not show, furthermore those 4 fields don´t have to show in the RITM.

I created an "onload" script and Just one is hidden but not the other 3, how can I hide the other 3 as well? here is the ticket:

find_real_file.png

as you can see 3 fields still show, I need them to be hidden since those fields were not used, here is my client script, I can get to hide only one, I am missing the other 3, how could I achieve it?

find_real_file.png

Thanks!

 

1 ACCEPTED SOLUTION

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

You can create this with a catalog UI Policy and then check this checkbox to make it run on the RITM as well:

//Göran
Feel free to connect with me:
LinkedIn & Twitter
Subscribe to my YouTube Channel
Buy The Witch Doctor's Guide To ServiceNow 

View solution in original post

4 REPLIES 4

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

You can create this with a catalog UI Policy and then check this checkbox to make it run on the RITM as well:

//Göran
Feel free to connect with me:
LinkedIn & Twitter
Subscribe to my YouTube Channel
Buy The Witch Doctor's Guide To ServiceNow 

Thank you It worked!

Great, mind putting my suggestion as correct so the thread is marked and easier for others to find the answer if they have the same problem 😃

//Göran
Feel free to connect with me:
LinkedIn & Twitter
Subscribe to my YouTube Channel
Buy The Witch Doctor's Guide To ServiceNow 

Thank you I already did, set is as the correct answer,

Thanks for your support and help!

Best Regards