setLabel('Subject') ->setRequired(true); $cc = new Monkeys_Form_Element_Text('cc'); translate('CC'); $cc->setLabel('CC'); $bodyPlain = new Monkeys_Form_Element_Textarea('bodyPlain'); $bodyPlain->setDecoratorOptions(array('separateLine' => true)); $bodyHTML= new Monkeys_Form_Element_Richtextarea('bodyHTML'); $bodyHTML->setDecoratorOptions(array('separateLine' => true)) ->setAttrib('width', '510px'); $this->addElements(array($subject, $cc, $bodyPlain, $bodyHTML)); } }