Updated: Wed, 10/02/2024 - 13:45

From Saturday, Oct. 5 through Monday, Oct. 7, the Downtown and Macdonald Campuses will be open only to McGill students, employees and essential visitors. Many classes will be held online. Remote work required where possible. See Campus Public Safety website for details.


Du samedi 5 octobre au lundi 7 octobre, le campus du centre-ville et le campus Macdonald ne seront accessibles qu’aux étudiants et aux membres du personnel de l’Université McGill, ainsi qu’aux visiteurs essentiels. De nombreux cours auront lieu en ligne. Le personnel devra travailler à distance, si possible. Voir le site Web de la Direction de la protection et de la prévention pour plus de détails.

No ifs, ands, or buts with Enhanced Conditionals

Combining AND and OR statements is now possible with nested conditionals

Used to be that you couldn’t combine AND and OR statements within the same conditional statement, forcing site managers to create more statements, or making them reliant on messy IS NOT relationships.

With Enhanced conditionals, its now possible to combine AND and OR statements through the use of nested conditionals.


The example below shows two nested conditionals.

The first condition states that if a user can speak either English OR Mandarin or Cantonese AND would like to go to Asia, then both University of Hong Kong and National University of Singapore would be displayed.

The second condition states that if a user can speak either English OR French AND would like to go to South America, then Université de Guyane is shown.

OR conditionals nested within an AND statement
OR conditionals nested within an AND statement

If you'd like to see enhanced conditionals in action, you can follow the detailed example in the KB Article 7559: Enhanced Conditionals in the WMS.

 

Back to top