-- Cameron <themsel...@gmail.com> wrote
(on Tuesday, 01 September 2009, 01:04 PM +0800):
> Hi guys, just a quick one.
> 
> I want to be able to add a regular textarea to a Zend_Dojo form - the Dojo
> editor is a tiny bit crappy, and i'd really rather use something else. The
> problem is that the "text area" that Zend_Dojo outputs isn't an actual
> textarea, and thus 3rd party editors tend to have difficulty attaching
> themselves to it. Is it even possible to include normal Zend Form textareas
> with Zend Dojo forms?

Yes -- but you can't do it using the short name. You need to instantiate
the element and attach it to the form:

    $textarea = new Zend_Form_Element_Textarea(...)
    $form->addElement($textarea);

-- 
Matthew Weier O'Phinney
Project Lead            | matt...@zend.com
Zend Framework          | http://framework.zend.com/

Reply via email to