Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
This Validation rules on an online survey form worksheet is part of the ACARA Digital Technologies Years 9–10 — Acquiring and Validating Data journey. Print it as a booklet?
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Required: ON | ARequired: ON | |
| 2Number between 1 and 10 | BA free text answer creates spelling variations of the same choice. It should be a multiple choice or drop-down question. | |
| 3Use multiple choice instead of free text so every answer is spelled the same way and only listed options can be chosen | CThe respondent cannot submit the form until this question has an answer, so no blanks are collected. | |
| 4Make sure a respondent cannot skip a question that you need an answer to | DOnly numbers from 1 to 10 are accepted, so an answer such as 99 or -4 is blocked. | |
| 5Hours of sleep (short answer, no rules): 'lots', '-5', '200' | EFree text with no validation lets in words and impossible numbers. It should use a number rule, such as a number between 0 and 24. | |
| 6Favourite subject (short answer): Maths, maths, Math, mathz | FQuestion type: Multiple choice (Year 9, Year 10) |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
response validation — A rule set on an online form question, such as required, a number range or multiple choice instead of free text, that blocks bad answers so only valid data is collected.Question: What is your age?
Required: trueQuestion: Rate the canteen (1-5)
Type: Number
Rule: between 1 and 5Question: Favourite subject?
Type: Multiple choice
Options: Maths, English, ScienceQuestion: Hours of sleep
Type: Number
Rule: between 0 and 24Question: How old are you?
Type: Number
Rule: between 10 and 20