wantime
asked on
PHP5/Zend: Zend_Form_Element_Textarea problem, how do i let it not resizable.
hello all,
i have used component Zend_Form_Element_Textarea in my application.
but this component is resizable, i.e., one can use mouse to change its size on the browser.
attached is a screenshot, right down the image you can see a triangle there, using this triangle the size of textarea could be changed.
the question is: how do i define this component, so that nobody could change its size on the browser.
thanks,
wantime
resize.jpg
i have used component Zend_Form_Element_Textarea
but this component is resizable, i.e., one can use mouse to change its size on the browser.
attached is a screenshot, right down the image you can see a triangle there, using this triangle the size of textarea could be changed.
the question is: how do i define this component, so that nobody could change its size on the browser.
thanks,
wantime
resize.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
$body->setLabel('Body:')
->setRequired(true)
->setAttrib('COLS', '40')
->setAttrib('ROWS', '4');
$this->addElement($body);