Types of Validation

Test yourself on Input Validation with exam style questions, marked instantly.

Flashcards that come back just before you would forget them.

A revision plan that remembers what you know and shows what to do next.

See which topics you have nailed and which need another look.

Quiz yourself on Input ValidationGet your flashcardsBuild my revision planTrack my progress

Types of Validation

Type What It Checks Example
Range Check Value within min/max limits Age between 0 and 120
Type Check Data is correct data type Age is an integer, not text
Length Check Data has required length Password at least 8 characters
Presence Check Field isn't empty Email address required
Format Check Data matches expected pattern Postcode: LL## #LL
Check Digit Calculated digit matches Last digit of barcode
Lookup Check Value exists in a list Country in list of countries

Make this stick

Signing in gives access to all PrepWise features.

PrepWise is a trading name of A3M Quality Solutions Limited, registered in England and Wales, company number 14959172. Registered office: 202 Stroud Road, Gloucester, GL1 5LA. ICO registration ZC267069.