On Thursday 10 April 2008 19:23:36 Matthew Weier O'Phinney wrote:

> If the decorator already exists, you can set the options on it by
> pulling it from the form/group/sub form:

It does already exist.

>     $decorator = $form->getDecorator('fieldset');
>     $decorator->setOption('id', 'foo')
>               ->setOption('class', 'foo');

Doesn't this set the options to the fieldset tag and not to the legend tag?

What I've tried, is $form->getDisplayGroup('fooFieldset') and somehow from 
there set id and class.. but this of course hasn't worked out.

-- 
Teemu Valimaki <[EMAIL PROTECTED]>

Reply via email to