Question
What phone number validations occur when entering my number via the HR platform?
Answer
Rule. | Expected. | Notes. |
---|---|---|
Max limit | All regions 15 characters. | |
Min limit | All regions seven characters | |
No Special Characters, including dash and the following symbols !@#$%^&*()_ - |
All regions | |
Space character in between.
|
All regions accept but clean up when saved to data-base. | |
Allow international number format with '+' sign | All regions | |
No letters. | All regions. | |
Allows international number format '+' |
Singapore International prefix rule: 0[0-3]\d → from 0 to 3 zeroes
Malaysia Country code: +60 International prefix: 00 National prefix: 0 |
Even if the organisation's country is not Singapore or Malaysia, it should still accept numbers not from org country |
SG valid numbers |
8[1-8]: 8 matches the character 8; then matches a single digit from [1-8] 9[0-8]: 9 matches the character 9; then matches a single digit from [0-8] 6 then matches 6 digits from [0-9] |
|
MY valid numbers |
1 is always the first digit, then either:
|