on change script to hide variable based on yes/no

NiSaraswat
Tera Contributor

Hi,

 

Please help me writing onchange Catalog client script for below condition.

 

- Variable 1? (Yes/No Dropdown)

      - If Yes,  (Hide Variable 2 and Variable 3)

            

- Variable 2? (Yes/No Dropdown)

      - If Yes,  (Hide Variable 1 and Variable 3)

            

- Variable 3? (Yes/No Dropdown)

      - If Yes, (Hide Variable 1 and Variable 2)

 

Thanks in advance

           

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @NiSaraswat 

 

You can do it via catalog UI policy , no need to write the CS. UI policy is No code here.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************