Validating phone numbers

At ReachFive, we use a dedicated library to validate a user’s phone number.

Since January 2022, all newly-created accounts where no country code is provided at creation have their default country code set to FR france (France).

Validation rules

If no country code is provided in the user’s phone number, the country code in your ReachFive Console account settings is prepended to the phone number before validation.

If there is no country code provided (either via the ReachFive Console and/or through user input), the validation library throws an exception and the phone number is considered invalid.


settings country code