J3 Issue ?
avatar frogydiak
frogydiak
20 Jun 2018

Steps to reproduce the issue

So I created a field in XML file with type="telephone"

Expected result

Auto formatted telephone number based on Site Location/TimeZone maybe.

Actual result

The telephone number is as is and shown exactly as it is entered.

Additional Comment

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?

avatar frogydiak frogydiak - open - 20 Jun 2018
avatar joomla-cms-bot joomla-cms-bot - change - 20 Jun 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Jun 2018
avatar brianteeman
brianteeman - comment - 20 Jun 2018

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.

avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Jun 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Jun 2018
Category Fields
avatar brianteeman brianteeman - change - 22 Jun 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 22 Jun 2018
avatar frogydiak
frogydiak - comment - 25 Jun 2018

@brianteeman Thanks for the info!

avatar brianteeman brianteeman - change - 25 Jun 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-06-25 17:44:59
Closed_By brianteeman
avatar brianteeman brianteeman - close - 25 Jun 2018

Add a Comment

Login with GitHub to post a comment