UI issue with variables

arohm
Tera Expert

Hello! 

I have a variable on a record producer that is hidden. I have a dropdown selection of two choices. I want this variable to show when either choice is selected. Currently it does show up but i have any issue.

If i select Choice 1, the variable shows. then i change choice 1 to choice 2 it shows fine as well. But if i go from Choice 2 back to choice 1 it becomes hidden again. I have to select "none" again then pick choice 1 for it to show again. 

The UI policies that run this are different orders. Reverse if false is checked on both but if i uncheck that, it shows up period.

What am i missing here?

1 ACCEPTED SOLUTION

harish41
Tera Guru

I am assuming, you are having 2 UI polices like below.
UI policy 1 :- Show variableY when Choice 1 is selected
UI policy 2 :- Show variableY when Choice 2 is selected
The conflict I can see is UI policy2 'reverse if false' will act when you unselect choice2. That will make the variable hidden when going choice2 to choice1

There are 2 UI polices acting on the same variable. We will have better results if we use only one UI policy that should act on one variable.
Use only one UI policy with condition[VariableX is oneOf (Choice1 or Choice2)] then show variable Y.

View solution in original post

6 REPLIES 6

AshishKM
Kilo Patron
Kilo Patron

Hi @arohm , 

Please share the script code you have written for this, share some screen shots also.

 

-Thanks,

AshishKM 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Hey Ashish, 

There is no script for this. Its all done on the Record producer in the variables and UI policy tabs. Ill see if i can get some screenshots.

harish41
Tera Guru

I am assuming, you are having 2 UI polices like below.
UI policy 1 :- Show variableY when Choice 1 is selected
UI policy 2 :- Show variableY when Choice 2 is selected
The conflict I can see is UI policy2 'reverse if false' will act when you unselect choice2. That will make the variable hidden when going choice2 to choice1

There are 2 UI polices acting on the same variable. We will have better results if we use only one UI policy that should act on one variable.
Use only one UI policy with condition[VariableX is oneOf (Choice1 or Choice2)] then show variable Y.

arohm
Tera Expert

I realize this is probably in the wrong Forum. I will move it.