Open nus-pe-bot opened 3 years ago
The UG states that PHONE_NUMBER
is a valid Singaporean number that is 8 digits long, starting with 6, 8, 9, so there are no spaces in PHONE_NUMBER
.
It then states that +65 can be accepted in front of PHONE_NUMBER
, so it is expected that +65 is added directly in front of PHONE_NUMBER
.
If PHONE_NUMBER
accepted numbers in the format of 9123 4567
, it can be more understandable that users might believe that there can be a space between +65
and PHONE_NUMBER
, but there is no space, and the users can expect this to be consistent.
--
When adding a new contact with the phone number in this format
+65 92345671
, it shows the following error message.The UG mentions the following
The country code +65 is also accepted at the start of PHONE_NUMBER
, however it did not specify what the correct format example is, nor did the error message in the app. It took me awhile to realise there shouldnt be any spaces between the country code and the phone number, as such:+6592345671
[original: nus-cs2103-AY2021S1/pe-interim#5998]