Since we provide a PhoneField component, it only makes sense that we also provide a validator for phone numbers. To provide the most widespread support, it should support country codes and area codes (requiring/disallowing them, specifying what is valid/invalid, etc.) along with exchange codes (the first 3 digits in a 7-digit phone number).
Since we provide a
PhoneField
component, it only makes sense that we also provide a validator for phone numbers. To provide the most widespread support, it should support country codes and area codes (requiring/disallowing them, specifying what is valid/invalid, etc.) along with exchange codes (the first 3 digits in a 7-digit phone number).