Show or Hide choices of field based on selection of another field choice

KM10
Tera Contributor

Hi Friends,

I am trying to show/hide choice of request item type based on the choice selected for the another field 

Example:-

In a requested item i had a field in a variable set which is choice type field and in that there are two options, if i select option1 then a another variable set to be visible and if i select second option that variable set should not be visible.

Kindly help me how to achieve this

Thanks & Regards,

KM

2 ACCEPTED SOLUTIONS

Dr Atul G- LNG
Tera Patron
Tera Patron

Did you try Catalog UI policy?

 

See OOTB  implementations

LearnNGrowAtul_0-1706190532464.png

LearnNGrowAtul_1-1706190595332.png

 

 

Try at your end and share feedback.

 

 

 

*************************************************************************************************************
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]

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

View solution in original post

Aniket Chavan
Tera Sage
Tera Sage

Hello @KM10 ,

Considering your requirement, I recommend leveraging the power of UI Policies. It's a user-friendly and code-free approach. As @Dr Atul G- LNG sir has also suggested, using UI Policies can be a more efficient option for this scenario. If it aligns with your needs, opting for UI Policies over client scripts can simplify the process and make maintenance smoother.

Feel free to explore this avenue, and let me know if you need anything from my end.

 

Best regards,

Aniket.



View solution in original post

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Did you try Catalog UI policy?

 

See OOTB  implementations

LearnNGrowAtul_0-1706190532464.png

LearnNGrowAtul_1-1706190595332.png

 

 

Try at your end and share feedback.

 

 

 

*************************************************************************************************************
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]

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

KM10
Tera Contributor

Hi atul,

 

Can you help me with scripting. Actually if i select a option as actual from firmware variable set and another variable should be visible and its viceversa if i select another option.

Aniket Chavan
Tera Sage
Tera Sage

Hello @KM10 ,

Considering your requirement, I recommend leveraging the power of UI Policies. It's a user-friendly and code-free approach. As @Dr Atul G- LNG sir has also suggested, using UI Policies can be a more efficient option for this scenario. If it aligns with your needs, opting for UI Policies over client scripts can simplify the process and make maintenance smoother.

Feel free to explore this avenue, and let me know if you need anything from my end.

 

Best regards,

Aniket.