description; ?>
fieldsname); foreach($fieldsnames as $fieldname) { foreach ($displayData->form->getFieldset($fieldname) as $field) { $classnames = 'control-group'; $rel = ''; $showon = $displayData->form->getFieldAttribute($field->fieldname, 'showon'); if (!empty($showon)) { JHtml::_('jquery.framework'); JHtml::_('script', 'jui/cms.js', false, true); $id = $displayData->form->getFormControl(); $showon = explode(':', $showon, 2); $classnames .= ' showon_' . implode(' showon_', explode(',', $showon[1])); $rel = ' rel="showon_' . $id . '['. $showon[0] . ']"'; } ?>