Each form that contain tel phone field
Output should be something like:
<input type="tel" id="jform_name_of_field" name="jform[name_of_field]" class="validate-phone required" value="" size="30" />
<input type="tel" id="jform_name_of_field " name="jform[name_of_field]" class="validate-phone required" value="" size="30" />
There is a space in ID attribute!!
Javascript function like jQuery('#jform_name_of_field') do not works
Joomla 3.7.2
to fix this you need to remove space char in file /layouts/joomla/form/field/tel.php at line 71
Labels |
Added:
?
|
Category | ⇒ | com_fields JavaScript |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-06-04 16:59:01 |
Closed_By | ⇒ | franz-wohlkoenig |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/16523
closed as having PR #16524
PR: #16524