Phone Number Validator

Content Type: Module
Categories:

Overview

This module offers various phone number validation options to ensure accurate and reliable contact information. The module enables you to validate phone numbers in real time, ensuring that the data entered is correct and in the correct format. With the ability to validate numbers across multiple countries and carriers, the module ensures that your contact information is up-to-date and accurate. Whether you want to validate numbers for customer support, sales, or marketing purposes, this module has covered you.

The module is a wrapper around the libphonenumber library, maintained by Google. Link to the original repository: https://github.com/google/libphonenumber

Documentation

Demo urlhttps://phonenumbervalidator100-sandbox.mxapps.io/index.html?profile=Responsive

Description

This module offers various phone number validation options to ensure accurate and reliable contact information. The module enables you to validate phone numbers in real time, ensuring that the data entered is correct and in the correct format.

The module is a wrapper around the libphonenumber library, maintained by Google. Link to the original repository: https://github.com/google/libphonenumber

Typical usage scenario

With the ability to validate numbers across multiple countries and carriers, the module ensures that your contact information is up-to-date and accurate. Whether you want to validate numbers for customer support, sales, or marketing purposes, this module has covered you.

Additionally, the module can be used to format phone numbers in a uniform format. Please see the list below for all available options. The purpose of this module is server-side validation.

Features and limitations

Currently, the following actions are exposed via actions. Please let me know if you would like to see more library functions exposed.

- CanBeInternationallyDialled
- FormatNumber
- FormatNumberForMobileDialing
- GetNumberType
- IsValidNumber
- IsValidNumberForRegion

Dependencies

  • Mendix 9.6.11 or above
  • libphonenumber-8.13.5.jar (included)

Configuration

No configuration is needed. The actions can be used out of the box. Please note that all parameters are required. If empty, the connector will throw an error.

 

 

 

Releases

Version: 1.0.0
Framework Version: 9.6.11
Release Notes: Initial release. Offering the following actions: - CanBeInternationallyDialled - FormatNumber - FormatNumberForMobileDialing - GetNumberType - IsValidNumber - IsValidNumberForRegion