';
$html[] = $clabel;
if (($ccustomtext != '') && (isset($field->customtextposition)) && ($field->customtextposition == 1)) {
$html[] = $ccustomtext;
}
$html[] = '
';
// wrap inputs in container for proper formating
$html[] = '
';
// render a hidden input to store signature data in
unset($field->attributeArray['aria-labelledby']);
$html[] = LayoutHelper::render('visforms.bt5.text.control', array('field' => $field), null, array('component' => 'com_visforms'));
$html[] = LayoutHelper::render('visforms.bt5.signature.getsignaturecontrols', array('field' => $field), null, array('component' => 'com_visforms'));
$html[] = '
';
$html[] = '
';
if (($ccustomtext != '') && (((isset($field->customtextposition)) && ($field->customtextposition == 2)) || !(isset($field->customtextposition)))) {
$html[] = $ccustomtext;
}
$html[] = '
';
$layout = new FileLayout('visforms.decorators.default_error_div', null);
$layout->setOptions(array('component' => 'com_visforms'));
$html[] = $layout->render($displayData);
$html[] = '