Rookie

## Trying to figure out rule logic - contains

Hello.

I am trying to work around an issue where show/hide logic is not working (the first time) for a form variable.

Here is the form variable:

ifElse((contains([Form].[parselookup Technology Type],"Laptop")
||contains([Form].[parselookup Technology Type],"Printer")
||contains([Form].[parselookup Technology Type],"Monitor")
||contains([Form].[parselookup Technology Type],"Computer")
),"Return Center","")

And this works fine....

Then, I have a 'show' form rule that states:

If [Form].[Return Center check]=="Return Center" is 'Yes', then 'Return Center Warning' 'visible' is 'Yes'.

This works....

However, if I create the form rule:

If [Form].[Return Center check]=="Return Center" is 'No', then 'Return Center Warning' visible is 'No'.

It works.....until I try to show again. THEN the only way it works is if I choose the first value "Laptop".

I can see with a label that the value returns to "Return Center", but the show rule does not work anymore unless I choose laptop

Labels: (1)