I am trying to hide a shape based on a value from a parameter, but the "Hide" is not working.
The condition in question is verifying if a parameter has a value of 100003, and the condition is defined in the following way:
"<A>-A|Element:[this element]|Parameter: 5511,[parenttableindex]|100003|DefaultReturnValue=False"
If I use this condition with the "Show" or with the "Blink" shape data field type, it works, but with Hide, it doesn't.
When using "Show", the shape starts hidden, but once it gets "Shown" it never hides again, even if the condition gets false.
When using "Blink", if the condition is true, the shape is always blinking, and when the condition is false, it stops blinking, so everything seems to be right.
I also assign the text of the shape to show me the value of the parameter, and it seems to be the correct one.
If instead of my condition, I use: "Hide", with value 1, then the shape gets hidden. This seems to be a bug of some sort.
Is this a known issue, or am I doing something wrong?
Thank you
Hi Tomás,
Is it possible to add the condition operator?
<A>-A|Element:[this element]|Parameter: 5511,[parenttableindex]|=100003|DefaultReturnValue=False
Hi Jens. Indeed, I already tried that but it didn’t work.
I managed to bypass this issue by checking for a variable instead of acessing the element directly and use a “SetVar” outside of this shape to add the same value as before.
In this case, it works with the following condition:
-B|Value|[var:inputselected]|=100003|DefaultReturnValue=False
Since this approach is working, the problem seems to be when using a condition with a value directly from the element.