2022-04-25 UK postcode validation preventing user with international postcode from completing Form R (A)

Date

Apr 25, 2022

Authors

@john o

Status

In progress

Summary

Postcode validation is set to hard validation on UK format postcodes.

Impact

Trainees with non-UK postcodes are blocked from some actions in TSS.

Non-technical Description

Hard UK postcode validation is currently in place preventing Trainees with non-UK postcodes from some actions in TSS.

Team is changing this to soft validation (a warning, rather than an error on the field preventing progress).

This will enable non-UK postcode submission, and does also carry a risk of invalid UK postcodes being accidentally entered.


Trigger

  • Hard validation on UK format postcodes prevented Trainee with legitimate non-UK postcode from proceding.

Detection

  • Trainee signing up from Mauritius getting in touch to highlight via email.


Resolution

  • Code work to change the hard validation to soft validation.


Timeline

BST unless otherwise stated

  • Apr 25, 2022 -


Root Cause(s)

  • Hard validation in place.


Action Items

Action Items

Owner

Action Items

Owner

  • remove hard validation to enable user to continue

@john o

  • swap hard validation for soft validation, so that there’s something in place to guard against accidentally degradation of data quality

@john o


Lessons Learned

  •  Hard validation is great for data quality, but should only be used when all edge cases have been teased out.