Skip to content
IGCSE·Tuition
ICT · Lessons

Design an input form as a software exercise, not a lead form

A form looks easy to sketch, yet every box hides a choice about what data is allowed.

On this page
  1. What makes a good form?
  2. Worked example
  3. The mistake to watch for
  4. Check yourself
  5. Where this leads next

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:

  1. Clear labels next to each field, using words the user knows.
  2. 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.
  3. Validation: automatic checks such as a range check, length check, presence check, format check or type check.
  4. 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.

FieldControlData typeValidation
Full nameText boxTextPresence check
Year groupDrop-down: Year 10, Year 11TextList of allowed values
AgeText boxWhole numberRange check: 14 to 17
Contact numberText boxTextFormat check: digits only, length check
Needs loan setTick boxYes or noNone 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.

Updated:

Your next step

If your form designs look fine but lose marks on validation or field types, a one-to-one teacher can review your sketch line by line and explain what a marker expects.

Paid one-hour trial at your assigned teacher’s confirmed rate, starting from RM80. Other fees, schedules and ongoing arrangements are confirmed directly with your teacher after the trial class.

Tuition is arranged with a parent or guardian. Send them this page on WhatsApp and they can enquire for you.

Parent or guardian? Enquire here

9,000+ students helped through our service