isConditional) && ($field->isConditional == true)) ? 'conditional field' . $field->id : 'field' . $field->id; $class .= (!empty($field->isReloadable)) ? ' reloadable' : ''; $class .= (isset($field->isForbidden) && ($field->isForbidden == true)) ? ' isForbidden' : ''; $class .= (isset($field->isDisabled) && ($field->isDisabled == true)) ? ' vishidden' : ''; $required = (isset($field->attribute_required) && ($field->attribute_required == true)) ? ' required' : ''; if (($clabel != "") || ($ccontrol != "") || ($ccustomtext != "")) { $html[] = '
typefield . '"'; $html[] = '>'; if (($ccustomtext != '') && (isset($field->customtextposition)) && (($field->customtextposition == 0) || ($field->customtextposition == 1))) { $html[] = $ccustomtext; } if (!empty($field->decorateWithErrorDiv)) { $layout = new FileLayout('visforms.custom.default_error_div', null); $layout->setOptions(array('component' => 'com_visforms')); $html[] = $layout->render($displayData); } $html[] = $clabel; $html[] = $ccontrol; if (($ccustomtext != '') && (((isset($field->customtextposition)) && ($field->customtextposition == 2)) || !(isset($field->customtextposition)))) { $html[] = $ccustomtext; } $html[] = '

'; $html[] = '
'; } echo implode('', $html); endif; endif;