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.

how to display any particular dependent field for specific country using client script

Neerja Sharma
Tera Contributor

how to display any particular dependent field for (ex: filed A which is dependent on field B) this is only for specific country using client script.

any suggestions on script????

4 REPLIES 4

Sohail Khilji
Kilo Patron

Hi @Neerja Sharma ,

 

If you want to attain this via client script, then you can make sure of addOption() & removeOption() in client science.

 

I hope this helps...


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

any other solution to achieve this if not going with client script?

 

Where do you need to display the he dependent fields? Classic? Service portal ? Custom workspace? Catalog item?

Jitendra Diwak1
Kilo Sage

Hi @Neerja Sharma,

 

There is one field which is dependent value in choice table so you if choose A there there depenednt value should be B,C, D etc So if you choose A then Dependent will be B,C,D etc..

 

 

 

 Please mark my soultion to accept for this.

 

Thanks

Jitendra

 

Please accept my solution if it works for and thumps up.