'textarea', 'tags' => 'name="' . $fieldname . '" id="' . $fieldname . '"', 'value' => qa_html($content), 'rows' => $rows, ); } public function focus_script($fieldname) { return "document.getElementById('" . $fieldname . "').focus();"; } public function read_post($fieldname) { return array( 'format' => '', 'content' => qa_post_text($fieldname), ); } }