Field widget - no country code
Field Formatter - format and default country (optional)
Formatted field

This module provides extra formatter to core's Telephone field. It utilizes the giggsey/libphonenumber-for-php library to provide support for standardized telephone formats:

  • International
  • National
  • E164
  • RFC3966

Requirements

In addition to core modules, this module has one external composer dependency: giggsey/libphonenumber-for-php library
Follow this doc page to learn more how to download module and its dependencies with composer.

Suggestions

It's recommended to use telephone_validation module to ensure certain data quality level. If telephone number could be parsed and stored in telephone field, we can expect it to be parsable and formattable by telephone_formatted field formatter.

Supporting organizations: 
Development & maintenance
Backport to Drupal 7

Project information

Releases