On 09/30/2011 02:11 AM, David Mintz wrote: > On Thu, Sep 29, 2011 at 2:24 AM, David Muir <[email protected]> wrote: > >> The way I handle forms is like this: >> >> <table> >> <tr> >> <td><?=$firstname->renderLabel()?></td> >> <td><?=$firstname->renderViewHelper()?><br /> >> <?=$firstname->renderErrors()?></td> >> </tr> >> …etc…-- >> > OMG! THANK YOU! It's reassuring to know that there are others out there who > have done the same thing I do. Decorators too painful for you? AVOID THEM! > You can still enjoy all the other many advantages of Zend_Form and move on > without clawing your eyeballs out. > > > David Mintz > http://davidmintz.org/ > It ain't over: > http://www.healthcare-now.org/ >
I just found it to be the quickest way to work with forms, and saves you a ton of time. Having to set up filters and validators is hard enough, particularly when using a config array. Being able to use the default decorators where you want them is a huge time saver vs having to write your own and declare them for every single element. Cheers, David -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
