nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Overzealous input validation for phone numbers #1824

Open nus-se-script opened 1 week ago

nus-se-script commented 1 week ago

Current functionality only allows phone numbers that are at least 3 digits long and can only contain numbers. However there could be instances where the user would like to include special characters , alphabetical characters or spaces in the phone numbers. Some examples would be adding the area code for overseas patients: +12 9123 5124, or annotating the number with "Home" or "Work" e.g. (Home) 8128 9102. Below is an example of the output of the program when inputting such numbers.

image.png


[original: nus-cs2103-AY2425S1/pe-interim#776] [original labels: type.FeatureFlaw severity.Low]

yugan01 commented 1 week ago

Team's Response

No details provided by team.

Duplicate status (if any):

Duplicate of #55