Onchange of varaibles remove option is not working

1234567789hrebn
Tera Expert

Hello All,

i have created onchange client script to remove option based other variable but it is not working as expected please provide your inputs on it below is my scenario.

Two Variables of type select box A and B

A has two choices  x and y 

B has two choices p and q

if we select x under A only p has to display for B 

for y we need to display both values of B

i have created a script of onchange when we select x under A only one values is showing working fine but when changing back to y B has to display both values but it is not happening .

 

Please provide me with workaround 

11 REPLIES 11

Hi there,

Is this question solved with my answer? Or do we need to follow-up on this?

If so, please mark this answer as correct if it solves your problem. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hi there,

Is this question solved with my answer? Or do we need to follow-up on this?

If so, please mark this answer as correct if it solves your problem. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hi there,

Is this question solved with my answer? Or do we need to follow-up on this?

If so, please mark this answer as correct if it solves your problem. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hi there,

Is this question solved with my answer? Or do we need to follow-up on this?

If so, please mark this answer as correct if it solves your problem. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Trupti6
Tera Expert