Latest runtime
App ID: 276942
Page 25
The and/or function doesn't appear to be working when comparing against a data variable.
See below. Should trigger an alert if matched however it's only matching on the first STRING, the other ORs are ignored.
data.GetCustomerSalesOrdering.CreditStatus == "PROSPECT" || data.GetCustomerSalesOrdering.CreditStatus == "STOP" || data.GetCustomerSalesOrdering.CreditStatus == "CLOSED" || data.GetCustomerSalesOrdering.CreditStatus == "LEGAL"
another example: for show/hide container based on STRING.
pageVars.ShowSection != "Lines" || pageVars.ShowSection != "Existing"