The format validator ensures the users input their bank details in a specific format.
β
Similar to the National Insurance / Social Security validation in PeopleHR, you can also validate bank account details. This prevents the user from inputting the bank details in a wrong format.
β
To set up the validation:
Click Access Button
then click HR Admin.
Click Settings, then click on Company.
In the Bank A/c Number Validation and Sort Code Validation, put the regex codes that apply to the relevant jurisdiction.
For UK, the regex codes are:
β
Sort Code without hyphen: ^[0-9]{2}[0-9]{2}[0-9]{2}$
Example: 123456
Sort Code with hyphen: ^(\d){2}-(\d){2}-(\d){2}$
Example: 12-34-56
Account Number: ^[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{2}$