Add Routing and Checks#

In this lesson you add questions that appear only for connected households, and a check that catches implausible answers. At the end you will watch the routing work in the live preview.

The video below performs every step in this lesson.

Watch the lesson video.

Add the Conditional Questions#

  1. Open the Meridian Internet Access Survey from the welcome page.

  2. Open the Internet use section.

  3. Add a Multiple Choice question above the comments question, type What kind of internet connection does your household use?, and name it conntype. Create a code list with the choices Fibre, Cable, DSL, Satellite, and Mobile broadband.

  4. Add a Numeric Entry question below it, type How much does your household pay per month for internet service, in Meridian dollars (MRD)?, and name it netcost. Allow two decimal places on its Response tab.

Show Them Only After a Yes#

  1. On the conntype card, click the branch button.

  2. In the Display Logic dialog, add an If row: choose hasnet as the subject, Contains Any as the operator, and Yes as the value.

The Display Logic dialog with the hasnet condition The Display Logic dialog with the hasnet condition
  1. Click Save. The card now carries a green condition chip.

  2. Give netcost the same condition.

Add an Edit Check#

  1. Add an Edit Check below netcost and open its editor.

  2. Leave the Edit Check Type on Soft.

  3. Under Ensure the following are true, add the row: netcost, Less than or Equal to, 500.

  4. Under When not true, show this message, type: The monthly cost is over 500 MRD. Please confirm the answer is correct..

The edit check editor with the cost check The edit check editor with the cost check
  1. Go back to the canvas and save with Ctrl+S.

Watch It Work#

  1. Open the Household section and switch the header toggle to Preview.

  2. Answer Yes to the internet question and click Continue.

  3. The connection and cost questions are now asked.

The preview showing the conditional questions after a Yes answer The preview showing the conditional questions after a Yes answer
  1. Use the restart button, answer No instead, and confirm the two questions stay hidden.

  2. Enter 600 as the monthly cost and confirm the check’s message appears.

  3. Switch back to Editor.

Your survey now routes respondents and validates their answers, and you have proven both in the preview.