So I created a field in XML file with type="telephone"
Auto formatted telephone number based on Site Location/TimeZone maybe.
The telephone number is as is and shown exactly as it is entered.
There is a JHhtmlTel class that in understanding of the code, it will supposed to format a telephone number based on the chosen format ($displayplan). But by following how the code works, on line #36, it will explode the variable $number with . delimiter. That line of code assumes that the supplied number is already formatted with dots as delimiter, why?
Anyways, there is no documentation for field type telephone. How do I use it to auto format a telephone number?
Labels |
Added:
?
|
Status | New | ⇒ | Discussion |
Category | ⇒ | Fields |
Labels |
Added:
J3 Issue
|
@brianteeman Thanks for the info!
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-06-25 17:44:59 |
Closed_By | ⇒ | brianteeman |
From memory, this field type is pretty useless as the Tel format it supports is the international standard. What you probably want is field type number with a filter of Tel.