if (($field->type == "date" || $field->type == "birthdate"))
$fieldValue = $this->getJomSocialDate($fieldValue);
if (($field->type == "date" || $field->type == "birthdate"))
{
$doc->addScript(JURI::root() . 'components/com_community/assets/jqueryui/datepicker/js/jquery-ui-1.9.2.custom.js');
$doc->addStyleSheet(JURI::root() . 'components/com_community/assets/jqueryui/datepicker/css/ui-lightness/jquery-ui-1.9.2.custom.css');
$fieldValue = $this->getJomSocialDate($fieldValue);
}
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.