We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

on change client script for list collector

sai190
Tera Contributor

hi

My requirment is i want to display a field and it should be mandatory, i want to display a field when defects is selected in a list collector variable, but iam getting the field also when i select the other variable in the list collector? i have written on change client script but it is displaying the new field for two values where as i want to display value only when defects is selected?

kindly look into screenshots. 

the new field should not be visible while selecting incident but what happening is that if i select defects and remove defects and select incident the new field is not hiding

1 ACCEPTED SOLUTION

Hey Sai,
Did the solution worked for you?

Cheers..!
Tushar

Mark it as helpful or correct, If Applicable


Cheers..!

Happy Learning:)

Tushar

View solution in original post

12 REPLIES 12

Hey Sai,
Did the solution worked for you?

Cheers..!
Tushar

Mark it as helpful or correct, If Applicable


Cheers..!

Happy Learning:)

Tushar

sai190
Tera Contributor

Yes. thanks tushar and chris

Glad to hear!

Happy Learning:)
Tushar

Mark it as helpful or correct, If Applicable


Cheers..!

Happy Learning:)

Tushar