The form is rendered with decorators (i.e. html tags surrounding the form elements). The stock behavior is a definitionlist. You won't likely be able to format a dl the way you want to.
For that you need custom decorators and css. Here's one example of using custom decorators to override the ZF defaults: http://bethgranter.wordpress.com/2008/04/28/zend-form-custom-decorators/ a little more detail with a table example near the bottom here: http://devzone.zend.com/article/3450-Decorators-with-Zend_Form On Tue, Sep 30, 2008 at 12:50 PM, Nilesh Govindrajan <[EMAIL PROTECTED]>wrote: > No, no I don't want it like this. I want it something like this - > > $element1 > $element2 > $element3 > $element4 $element5 > > > On Tue, Sep 30, 2008 at 7:38 PM, Rob Riggen <[EMAIL PROTECTED]> wrote: > >> $element1->setOrder(10); >> $element2->setOrder(30); >> $element3->setOrder(20); >> $element4->setOrder(40); >> >> should order the elements like this on the form: >> >> $element1 >> $element3 >> $element2 >> $element4 >> >> >> On Tue, Sep 30, 2008 at 9:39 AM, Nilesh Govindrajan <[EMAIL PROTECTED]>wrote: >> >>> Hi, >>> >>> I am new to Zend Framework. >>> >>> I would like to know how to change the positions of elements created >>> using >>> Zend_Form. >>> >>> I mean that how do I place two elements one near other instead of in a >>> top-down manner ? >>> >> >> >> *Robert Riggen* - Zend Certified Engineer >> *Big Yellow Technologies, LLC* >> >> Essex Junction, VT 05452 >> 802.578.6719 >> [EMAIL PROTECTED] >> >> > > > -- > Nilesh Govindrajan ([EMAIL PROTECTED]) > > iTech7 Site and Server Administrator > > www.itech7.com >