get_lang('Horizontal'), 'vertical' => get_lang('Vertical') ); $this->getForm()->addRadio('horizontalvertical', get_lang('DisplayAnswersHorVert'), $options); $formData['horizontalvertical'] = isset($formData['horizontalvertical']) ? $formData['horizontalvertical'] : 'horizontal'; $this->getForm()->setDefaults($formData); /*// Horizontal or vertical $this->html .= '
'; $this->html .= ' | '.api_return_html_area('answers[0]', stripslashes($form_content['answers'][0]), '', '', null, array('ToolbarSet' => 'Survey', 'Width' => '100%', 'Height' => '120')).' | '; $this->html .= ''; $this->html .= ' | |
'; //$this->html .= ' | '; $this->html .= ' | '.api_return_html_area('answers[1]', stripslashes($form_content['answers'][1]), '', '', null, array('ToolbarSet' => 'Survey', 'Width' => '100%', 'Height' => '120')).' | '; $this->html .= ''; $this->html .= ' |