Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Add postcode validation #114

Merged
merged 2 commits into from
Mar 22, 2020
Merged

Add postcode validation #114

merged 2 commits into from
Mar 22, 2020

Conversation

brucebolt
Copy link
Member

@brucebolt brucebolt commented Mar 22, 2020

Adds validation for postcode entered on the support address question. Maintains the existing conditional validation where a user can enter either a county or postcode or both.

Trello card: https://trello.com/c/EqVwf3E1

Fixes: #71

Adds validation for postcode entered on the support address question.
Maintains the existing conditional validation where a user can enter
either a county or postcode or both.
Copy link
Contributor

@NickColley NickColley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're confident that regex is loose enough that it wont create barriers this looks good to me.

@brucebolt brucebolt merged commit 6361860 into master Mar 22, 2020
@brucebolt brucebolt deleted the add-postcode-validation branch March 22, 2020 20:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validation: support address, check postcode regex isnt too clever
2 participants