I wish to capture a user's bank details such as:
- Payee Name
- UK Bank Name
- Account Number (xxxxxxxx)
- Sort Code (format xx-xx-xx or xxxxxx)
What are the best input fields for 'Account Number' and 'Sort Code'?
How would you recommend validating them against the above requirements e.g. 8 digits for account number and 6 digits or 2-2-2 digits for sort code?