Postponed (maintainer needs more info)
Project:
Masked-Input
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2011 at 14:18 UTC
Updated:
14 Aug 2011 at 02:49 UTC
Thank you for this module which seems a perfect solution to format the output of a phone number field for example. Would it be feasable to make it compatible with phone number module ?
http://drupal.org/project/cck_phone
So that we can define a mask for each country (i.e. +33 (9)9 99 99 99 99 in France and +1 (999) 999 9999 in U.S.)
Here's the related issue in the Phone number queue:
http://drupal.org/node/1133536
Comments
Comment #1
helior commentedHmmm, I'm not familiar with cck_phone's code architecture. Would you be able to point out what parts aren't compatible? If a module wanted to use the masked input field widget in their field types, they could implement hook_field_widget_info_alter(), or they could use the form element directly in their form builders, like this:
Please note that for the field widget, only the numeric values will be stored in the db if the schema type is of the numeric variety. Otherwise, the entire thing is put in as varchar.
Comment #2
klonosLess vague title, minor typo in issue's title, and ...subscribing.