Re: [fw-general] Form default decorators

2010-11-17 Thread Matthew Weier O'Phinney
-- Mike Wright wrote (on Tuesday, 16 November 2010, 08:56 AM -0800): > Steve Rayner wrote: > > I'm trying to get rid of the default decorators in zend form. > > I don't want the dl, dt & dd tags. > > > > > > > is there a simple way to turn off this feature for all forms. I'm > > finding that thes

Re: [fw-general] Form default decorators

2010-11-16 Thread Mike Wright
Steve Rayner wrote: I'm trying to get rid of the default decorators in zend form. I don't want the dl, dt & dd tags. is there a simple way to turn off this feature for all forms. I'm finding that these tags are making my css more complicated than it needs to be. Hi Steve, I also hated t

Re: [fw-general] Form default decorators

2010-11-16 Thread Jurian Sluiman
On Monday 15 Nov 2010 22:30:04 Steve Rayner wrote: > however i still get the dt and dd html tags. > > > > am i doing this wrong? > > is there a simple way to turn off this feature for all forms. I'm finding > that these tags are making my css more complicated than it needs to be. The dt and dd

Re: [fw-general] Form default decorators

2010-11-15 Thread Markizano Draconus
Hey Steve, You might want to try something like this in your form's construct: setDisableLoadDefaultDecorators(true); $this->clearDecorators(); ?> This will give you a very bland form, if you want to assign your own decorator, you can use the following to designate your custom form decorator:

[fw-general] Form default decorators

2010-11-15 Thread Steve Rayner
I'm trying to get rid of the default decorators in zend form. I don't want the dl, dt & dd tags. in my form class that extends Zend_Form i have; // Add the part_no element $element = new Zend_Form_Element_Text('part_no', array( 'id' => 'text', 'label' => 'Part No:', 'required' => true, 'fil