[meta] International Telephone Validation Support

Created on 23 July 2025, 7 days ago

Problem/Motivation

There are quite a few issues with the International Telephone Validation feature in Webform and general maintainer reluctance to extend support for third party libraries in the main webform module.

Bugs

πŸ› Telephone validation issues when using states and pages Active
πŸ› Label behaves differently for a phone field with international validation enabled Active
πŸ› Issue with Webform Card and International Telephone Input: Form Breaks with Enhanced Phone Number Support Enabled Active
πŸ› International telephone element should submit a standardised phone number Needs review
πŸ› phone field required message show on input only Active
πŸ› International telephone element errors are not read by A/T Needs work

Feature Requests

✨ Provide option to disable default Js validation on Telephone element Needs work
✨ International Telephone Validation Active
✨ Improve intl-tel-input UI Active
✨ Update jquery.intl-tel-input to v23.0.10 and add option for i18n Active

Related Enhancement Modules

https://www.drupal.org/project/webform_intl_tel_national_mode β†’

Proposed resolution

  • Perform an exhaustive accessibility review of the current third party JS library (see https://github.com/jackocnr/intl-tel-input/issues for known issues).
  • Perform an exhaustive UX evaluation of the third party JS library and gather reasonable default configurations for the 80%.
  • Consider offloading international telephone number support to either a sub-module, or external module that can receive dedicated support.
  • Only load inline validation javascript when the clientside_validation module is enabled.

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

🌱 Plan
Status

Active

Version

6.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States luke.leber Pennsylvania

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024