Closed (won't fix)
Project:
Webform
Version:
6.2.3
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2024 at 17:42 UTC
Updated:
26 Aug 2025 at 12:03 UTC
Jump to comment: Most recent
Comments
Comment #2
luke.leberTelephone numbers are very complex. A simple input mask isn't a reliable mechanism here, as number formats do vary wildly from country to country.
There's an international telephone mode feature for this that ships with country-specific masking capabilities 👍.
Comment #3
jrockowitz commentedYou can create a custom telephone input mask for a specific number, but we can't include it with the module.
@see https://robinherbots.github.io/Inputmask/#/documentation
Comment #4
alexandremush commentedI am using Drupal 10.4.7 and webform module 6.2.9.
When I add a telephone type field to a form, it does not have a mask in its settings. But if I add a text field instead of a telephone type, and set up an input mask in it, and then convert it to a telephone type, we get a telephone field with an input mask. And it works!
Perhaps it makes sense to add this feature to the telephone field. Whoever needs it can use their own custom mask.
thanks!