ui policy not updating variable set

BijoyDeb
Tera Contributor

Hi All,

 

I have created variable set with 3 variables a,b and c and added that set to few catalog items

In variable set I have added ui policy to show c only if b has specific value

on catalog, there's dropdown named active with yes and no options

if active is yes, then a and b gets visible. And based on b's value, i made c visible on form

but if i change active's value to false, then c should not be visible. But still its present on form

 

I am getting confused how can I handle this?

 

 

 

1 ACCEPTED SOLUTION

Brad Bowman
Kilo Patron
Kilo Patron

It sounds like you already have 2 UI Policies, and the visibility of c is based on a and b, so you can't exactly reverse if false.  You need a third policy to hide c.  It may be easier to scrap this approach and go with an onLoad and onChange  Catalog Client Scripts within the variable set, to avoid conflicting policies.

View solution in original post

2 REPLIES 2

Brad Bowman
Kilo Patron
Kilo Patron

It sounds like you already have 2 UI Policies, and the visibility of c is based on a and b, so you can't exactly reverse if false.  You need a third policy to hide c.  It may be easier to scrap this approach and go with an onLoad and onChange  Catalog Client Scripts within the variable set, to avoid conflicting policies.

Sanjay191
Tera Sage

Hello @BijoyDeb 
I guess you can handle it by using the Reverse if false So Please use the checkbox reverse if false  correctly .

Sanjay191_1-1726659375401.png



Please mark this response as correct or helpful if it assisted you with your question.