Problem:
Only allow users to input phone number that is 8-digits long and starts with an 8 or 9. This can be too restrictive, as users may need to store overseas phone numbers, and this can cause inconvenience.
Commands:add n/lin p/21321423Result: "Phone numbers must contain only numbers, be 8 digits long, and must start with an 8 or 9."
Problem: Only allow users to input phone number that is 8-digits long and starts with an 8 or 9. This can be too restrictive, as users may need to store overseas phone numbers, and this can cause inconvenience.
Commands:
add n/lin p/21321423
Result: "Phone numbers must contain only numbers, be 8 digits long, and must start with an 8 or 9."Screenshot:
[original: nus-cs2103-AY2324S2/pe-interim#4882] [original labels: severity.Low type.FeatureFlaw]