wrapper($input); } private static function field($field, $rowID, $form_atomic_Cls_map, $formID, $value) { $fieldHelpers = new ConversationalFieldHelpers($formID, $field, $rowID, $form_atomic_Cls_map); $name = $fieldHelpers->name(); $req = $fieldHelpers->required(); $clrBtnContent = ''; $undoBtnContent = ''; $redoBtnContent = ''; $bfFrontendFormIds = FrontendHelpers::$bfFrontendFormIds; $contentCount = count($bfFrontendFormIds); $clrBtnPreIcn = $fieldHelpers->icon('clrPreIcn', 'clr-btn-pre-i'); $clrBtnSufIcn = $fieldHelpers->icon('clrSufIcn', 'clr-btn-suf-i'); $undoBtnPreIcn = $fieldHelpers->icon('undoPreIcn', 'undo-btn-pre-i'); $undoBtnSufIcn = $fieldHelpers->icon('undoSufIcn', 'undo-btn-suf-i'); $redoBtnPreIcn = $fieldHelpers->icon('redoPreIcn', 'redo-btn-pre-i'); $redoBtnSufIcn = $fieldHelpers->icon('redoSufIcn', 'redo-btn-suf-i'); if (property_exists($field, 'clrBtnHide') && !$field->clrBtnHide) { $clrBtnContent = <<getCustomAttributes('clr-btn')} > {$clrBtnPreIcn} {$field->clrBtn} {$clrBtnSufIcn} CLRBTN; } if (property_exists($field, 'undoBtnHide') && !$field->undoBtnHide) { $undoBtnContent = <<getCustomAttributes('undo-btn')} > {$undoBtnPreIcn} {$field->undoBtn} {$undoBtnSufIcn} UNDOBTN; } if (property_exists($field, 'redoBtnHide') && !$field->redoBtnHide) { $redoBtnContent = <<getCustomAttributes('redo-btn')} > {$redoBtnPreIcn} {$field->redoBtn} {$redoBtnSufIcn} REDOBTN; } return <<getCustomAttributes('inp-fld-wrp')} class="{$fieldHelpers->getConversationalMultiCls('inp-fld-wrp')} {$fieldHelpers->getCustomClasses('inp-fld-wrp')}" > getCustomAttributes('signature-pad')} >
{$clrBtnContent} {$undoBtnContent} {$redoBtnContent}
SIGNATUREFIELD; } }