You can now load or create cascading questions in Surveys. This will take the enumerator down a path of choices to a final selection.
For example if you have a list of Districts, Towns and Villages, the user will first select a District and then see a list of Towns belonging only to that District, and then select a Village which is part of the selected Town.
Further questions in the survey can be made conditional on any part of the cascade. In analyses, any of the levels of the cascade can be used as filters or dimensions of analysis.
Use Cascading List Questions when you want to create the list only for your individual survey. This is for up to 1000 rows.
Use Cascading Reference Questions when you want to maintain one list that is shared across multiple surveys, and when you need to use many rows. For example the list of villages of a whole country, or a cascade of the programmes and projects of your organization.
Creating Cascading List Questions
Cascading questions are now a new survey question type available for all surveys. You can create the cascade either by loading a .xlsx spreadsheet file, or by manually entering values for the rows and columns. We recommend uploading a list for speed.
List upload
Follow these steps to create Cascading List Question the recommended way:
1) Create a list file in .xlsx (Excel) format. This needs to have column headers, one for each cascade level, and then entries for each row where each row represents a path through the cascade.
Note that in an import list there can be gaps in the data.
2) Create a Question in your survey of the type Cascading List Question
3) Import the file using the Upload XLSX Options File button in the question edit popup.
Note that if you re-import a list of options to a question it will overwrite the existing list and you risk losing existing data for that question. Please instead edit the list manually if you have already collected data. If the list has changed a lot, we recommend that you Disable the old cascade question to retain the data and then create a new one.
To add rows from a new file without replacing the list, click Append XLSX Options File instead of Upload XLSX Options File.
Manual creation
For smaller lists, you can enter the options by hand. You can also use this to change a list you imported, for example when options change over time.
Add a Cascading List Question to your survey.
Under List Options, type the values into the grid. Each row is one path through the cascade.
Click + below the grid to add a row. Click the pencil icon in a column header to edit that column.
Tick Sort options alphabetically in dropdowns if you want the choices sorted.
Manual entry and editing of cascade lists
Note: rows you enter by hand cannot have blank cells. Imported lists can have blanks.
Note: a Cascading List question supports up to 10,000 rows. We recommend keeping it under 1,000 rows, because large lists make the survey bigger and slower. For longer lists, use a Cascading Reference question instead (see below).
Conditionality on cascade questions
You can make other questions in the survey conditional on what the enumerator selects in the cascade. This works similarly to conditionality, however:
1) You must use the + add advanced conditionality option to access the cascade list options.
Conditionality based on Cascading Question Lists
2) Take into account that each Option in a column is an enumerable. This means that if there is a village of the same name, for example Village A, in Township 1 and Township 2, then adding conditionality for a question to show when Village A is selected will show the question if either Township 1 -> Village A or Township 2 -> Village A is selected. If you want the question to onlyshow for Township 1 -> Village A, then you must build the conditionality to take both the District and the Village into account.
3) This also means that when you are selecting the advanced conditionality, the whole list of options for the column will show. Therefore please be careful in selecting a valid combination of conditions.
Creating Cascading Reference Questions
Cascading list questions are specific to individual surveys, but whenever you want to maintain a list that is used across multiple surveys, it is worth using a Cascading Reference Question. You can maintain an organization-wide list of Project Codes or a list of States, Districts, Towns, and Villages, for example, instead of managing them in each survey separately.
1) Create the cascading list as a spreadsheet.
2) Click Manage in the top menu, then click Tables..
3) Select a Workspace or create a new one, making sure the Workspace permissions include the users you want to allow the cascading reference list for
4) Import the spreadsheet as a new table
5) In your survey, create a Cascading Reference Question and select the Table you've created
6) Add the Dropdowns you want to include from the table and label them
Important: You need to make sure that users who should access this cascading reference question are part of the table workspace permissions. If you deploy the survey to Group A but Group A does not have access to the table where the cascading reference question is, the members of the group will be able to fill out the survey but will not load the options of the cascading question. So be sure to check the table workspace permissions. You can make the workspace public if you are running an anonymous survey deployment.
You can import up to 10,000 rows of data freely into tables. In case you need more, please get in touch with mWater through info@mwater.co.