Try this:

            $element->setAttrib('class', 'textbox');

where $element represents a form element created by Zend_Form.


On Mon, Jun 9, 2008 at 5:24 PM, Rohit83 <[EMAIL PROTECTED]>
wrote:

>
> Hello All,
> I have developed one form that contains textboxes and textarea i want to
> assign common class to all the textboxes and for textarea elements.That
> class should be different from the lable given to them respectively.
> How to do that?Any Suggestions?
> Thanks in advance
> Regars
> Rohit
> --
> View this message in context:
> http://www.nabble.com/Decorators-in-the-Form-tp17733349p17733349.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to