Multiple Statements in a Formatting Rule

  • 15 August 2017
  • 2 replies
  • 0 views

Badge +3

Hello All,

Can you tell me the best way to hide a panel based on multiple conditions? For example, 

not(Country=="Egypt" || Country=="Canada" || Country=="United States" || Country=="India" && (RequestCode=="New Supplier" || RequestCode=="Address Update"))

The above would only show the panel if the country was one of the 4 above and the RequestCode was one of the 2 above

Thank you


2 replies

Userlevel 5
Badge +14

try following

not( ( Country=="Egypt" || Country=="Canada" || Country=="United States" || Country=="India" ) && (RequestCode=="New Supplier" || RequestCode=="Address Update"))

Badge +3

Thank you. Worked perfectly

Reply