Digital pattern library

Form validation

The DPL is platform agnostic so we don't provide code for performing validation but have documented the following design principles.


Validation of input fields

Example
Your personal details
As shown on your birth certificate or passport
Code


Your personal details
As shown on your birth certificate or passport

Validation of radio buttons

Example
Check your personal details

Are your personal details correct and up-to-date?

Code


Check your personal details

Are your personal details correct and up-to-date?