Skip to main content

Phone numbers

Introduction

Data integrity for phone number(s) is paramount to maintain a valid vendor master file.
Our phone number validation features are designed to assist the end user while entering phone numbers by validating and formatting phone numbers. The goal is to facilitate data entry and improve data quality.

The user may also bypass validation issues if confident the number and format are valid.

Known issues
info

In the unlikely event this feature creates too many frustration, turn it off as per the next section, without further risk.

Configuration

Our phone number validation features can be configured from eftsure parameters > User interface > Extend > Phone

Activation

Phone number validation configuration

Use the Phone number validation checkbox to enable/disable this feature.

Override format

Use the Option to override phone number formatting:

  • No formatting: reflect as per user/vendor onboarding input
  • National: Number will be formatted using the standard national format, for example 0412 345 678 in Australia
  • International: Number will be formatted with country code, for example +61 412 345 678 in Australia
Special characters

Phone numbers in National and International formats might contain special characters such as spaces, parenthesis, plus sign ...

Usage

The phone number validation features are available on most phone related controls (Mobile and Landline) throughout the eftsure extension:

Phone number validation controls usually work in pair with the country selection control in order to match the phone number rules of the target country.

Country control

Did you know?

If the phone number to be used doesn't match the targetted country, the end user can always prefix the phone number with + CountryCode to avoid failing local conventions:

International phone numbers are always a valid choice for phone number validations, even locally.

Data entry

For local phone numbers (matching country code), the end user can enter the phone number without international country code. If the phone number doesn't match the country conventions, a warning message will be displayed.

Local FR Number

For international phone numbers (different from country code), the end user needs to enter the + CountryCode prefix before the phone number. if the phone number doesn't match the international conventions, a warning message will be displayed.

International number FR

Data formatting

If the entered phone number is valid, it will be formatted according to Override format:

CountryBeforeOverride nationalOverride international
AustraliaPhone number AU unformattedPhone number AU nationalPhone number AU international
FrancePhone number FR unformattedPhone number FR nationalPhone number FR international
United States of AmericaPhone number US unformattedPhone number US nationalPhone number US international

Bypass

To avoid user frustration with phone number validation rules, end user can bypass phone number validations, which can be useful in case of outdated library. The following option allows the end-user to activate the phone number validation bypass:

Bypass enabled

The following option re-enables the phone number validation. Bypass disabled

This bypass speeds up issue resolution in case of invalid phone numbers.

Upgrades

We regularly upgrade this library to allow our users to use the latest phone rules and conventions.

International phone number conventions evolve faster than software upgrades and customer environments might start using outdated validation rules over time, causing user frustrations.

To prevent such issues
  • Upgrade your extension more often
  • Use manual bypass when needed
  • Disable phone validation at the environment level

About

We use libphonenumber for libphonenumber-csharp to assist in this task.

libphonenumber is Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers.

It is widely used and trusted in the software industry for phone number purposes, and validates phone numbers locally, without sending data to Google or affiliates.