An input form is the screen or sheet people use to enter data into a system. In ICT this is a software design exercise: you decide the fields, the type of data each field holds, and the checks that stop wrong data getting in.
This lesson is about forms inside a system, such as an order form or a membership record. It follows choosing a data-collection method and belongs to the ICT applications and system lifecycle module.
What makes a good form?
Think in four parts:
- Clear labels next to each field, using words the user knows.
- The right control for each field: a text box for free text, a drop-down list or option buttons when the choices are fixed, a tick box for yes or no.
- Validation: automatic checks such as a range check, length check, presence check, format check or type check.
- Layout: a logical order that matches the paper source, grouped in sections, with an obvious button to save.
Validation checks that data is reasonable, not that it is correct. A date of birth in the allowed range can still be the wrong date.
Worked example
Invented task: design a sign-up form for a school chess club (fictional). Record name, form (Year 10 or Year 11), age, a contact number and whether the pupil needs a loan chess set.
| Field | Control | Data type | Validation |
|---|---|---|---|
| Full name | Text box | Text | Presence check |
| Year group | Drop-down: Year 10, Year 11 | Text | List of allowed values |
| Age | Text box | Whole number | Range check: 14 to 17 |
| Contact number | Text box | Text | Format check: digits only, length check |
| Needs loan set | Tick box | Yes or no | None needed |
Why is the phone number text, not a number? You never add phone numbers, and a number type would drop a leading zero. Text keeps it as typed.
Why a drop-down for year? The choices are fixed, so the user cannot mistype and nothing needs checking afterwards.
The mistake to watch for
Students often pick a validation check that does not fit the field.
Mistaken answer: “Age: presence check, so it must be correct.”
A presence check only proves something was typed. A range check from 14 to 17 catches impossible ages such as 140.
The correction is to match the check to the risk: range for numbers, list for fixed choices, format or length for codes and phone numbers, presence for compulsory fields.
Check yourself
1. Which control suits a field for “Gender: choose one” with three fixed options?
Show answer
Option buttons (or a drop-down list), because only one fixed choice is allowed.
2. A field accepts a score from 0 to 100. Name a suitable check and an example of data it would reject.
Show answer
A range check from 0 to 100. It would reject 150 or -5.
3. Why is “Abc” accepted by a presence check but rejected by a type check on a field for age?
Show answer
A presence check only confirms something was entered. A type check confirms it is the right kind of data, and letters are not a whole number.
Where this leads next
After design comes the choice of how to bring the system into use: compare direct and phased implementation. To practise on a database side, try the read-only SQL practice lab.
If form designs are one of the places you lose marks, our team’s online one-to-one ICT tuition can review them with you.