-- Ian Warner <[EMAIL PROTECTED]> wrote
(on Monday, 17 March 2008, 03:28 PM +0000):
> Couple of questions
>
> 1. how do I do this - enctype="multipart/form-data" to do a file upload
$form->setAttrib('enctype', 'multipart/form-data');
> 2. How do I set the Columns and rows of a TextArea.
$element->rows = 20;
$element->cols = 30;
// or:
$element->setAttrib('rows', 20)
->setAttrib('cols', 30);
// or:
$element->setAttribs(array(
'rows' => 20,
'cols' => 30
));
// or, in your config:
element.rows = 20
element.cols = 30
--
Matthew Weier O'Phinney
PHP Developer | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/