I've added the following double expression to the visibility setting of a button control, but it appears no matter the value in the "order status" field.
fn-Or(fn-Equals(Order status,5. Load check),fn-Equals(Order status,6. Waiting for approval))
If also tried them separately, they both work fine than.
fn-Or(FALSE,fn-Equals(Order status, 6. Waiting for Approval))
fn-Or(fn-Equals(Order status, 5. Load check),FALSE)
To clarify: I want the button to only be visible when the "Order status" is equal to "5. Load check" or "6. Waiting for Approval".
What is going wrong?
Solved! Go to Solution.
I believe that you just need to wrap your second argument in the 'fn-Equals' function in quotes.
fn-Or(fn-Equals(Order status,"5. Load check"),fn-Equals(Order status,"6. Waiting for approval"))