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.

Show Help Text in a Catalog Item only when Sub-Category choice Value is 'User Access'

Bijay Kumar Sha
Giga Guru

I've one catalog Item where there are 2 Drop Down Choice fields called as 'Category' and Sub Category'. All the choice fields in Sub Category are depended upon Category Choice List values.

However, there is one Choice list value in Sub Category exist with name as 'User Access'.

My requirement is that, when requester selects the value 'User Access' in Sub Category', then automatically, one Help text should get appear under Sub Category Variable with some information let's say "abcd". For other choice list values, it should be hidden.

How I can achieve this?

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Bijay Kumar Sha 

 

Might be helpful

 

https://www.servicenow.com/community/developer-forum/how-to-make-help-text-display-conditionally/m-p...

 

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

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

Hi @Dr Atul G- LNG , the url that you've provided, there the variable was a Yes/No type, I tried to replicate the same as per my requirement, but still it's not working. I'm using below 'OnChange' client script on 'Sub Category' variable - 

BijayKumarSha_0-1712683769962.png

 

Let me know if I'm missing anything. 

Hi @Bijay Kumar Sha 

 

Sorry I missed this thread. 

 

I am not a good coder, so cant help much.

 

@Sandeep Rajput  @AshishKM any inputs 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]

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