
This article refers to a process used on sites that have not been migrated to the New WMS yet.
If your site is already migrated, consult the Index of documentation for the McGill Web Management System.
Target audience: Site Administrators, Site Managers
Webforms in the Web Management System (WMS) allow the creation of simple or nested conditionals (using 'AND' and 'OR' statements).
In this article:
Before starting to use conditionals, it is necessary to understand the basics of webforms in the WMS. See the following:
A conditional rule allows you to refine the flow of your form for your users, based on their responses to questions. For example: a conditional rule could allow you to create follow-up questions that are only shown if a response requiring follow-up is needed.
The example below shows a wizard-type form where prospective exchange students can find affiliated educational institutions in other cities based on:
Once a student selects both a language AND a continent, affiliate institutions that apply to the selected language and continent will appear.
If there are no institutions that offer instruction in a particular language at a particular continent, a warning message to that effect will be displayed.
If a student selects multiple languages and/or continents, then all the applicable institutions and messages will appear.
This is how the simple conditionals were set up for the monolingual institutions:
As such, their respective conditionals are simple “if-and-then” statements:
Note: They don’t require OR statements because only one language is applicable.
This is how the nested conditionals were set up for bilingual institutions:
Because these institutions use more than one language, simple “if-and-then” statements would not suffice. There must be a nested OR conditional that includes the second language in the statement: