Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entering spaces in bank details #23

Open
philsherry opened this issue May 22, 2020 · 1 comment
Open

Entering spaces in bank details #23

philsherry opened this issue May 22, 2020 · 1 comment
Labels
design Pattern or component needs investigation enhancement Improvement: enhancement external Code source: external gds Discuss with GDS

Comments

@philsherry
Copy link
Contributor

philsherry commented May 22, 2020

GOV.UK Design System’s Bank details has the following guidance.

Account number

“Must be between 6 and 8 digits long”

International bank account details

“Must be between 8 and 11 characters long”

Sort code

“Let users enter their sort code in whatever format is familiar to them. Allow additional spaces, hyphens and dashes.”

Error message

If the account number is not in the correct format

‘Enter a valid account number like 00733445’.

Any spaces which are added to the account number field will generate an error. This behaviour feels wrong, especially as some users need to break up strings of digits in order to read them properly. We should accept spaces in these fields and amend the hints and errors accordingly.

@philsherry philsherry added enhancement Improvement: enhancement design Pattern or component needs investigation external Code source: external gds Discuss with GDS labels May 22, 2020
@philsherry philsherry added this to To do in Investigation May 22, 2020
@shabana-ali
Copy link
Contributor

This issue has been seen in the following services:

  • Manage a claim for P800 BACS repayment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Pattern or component needs investigation enhancement Improvement: enhancement external Code source: external gds Discuss with GDS
Projects
Investigation
  
To do
Development

No branches or pull requests

2 participants