Thanks for reply
Actually I wrote the custom decorators to add errors and description in td
and applied this decorator in my form using following code
require_once 'Composite.php';
$this->addElementPrefixPath('decorator', 'decorator', 'decorator');
$this->setElementDecorators(array('Composite'));
Now my form contains one radio element and by default </br> is inserted in
between the options of this radio element,i want to remove this by setting
'openOnly' property to 'true'.
I tried for that but this property not applied to radio element bcoz of
above code
will you plz tell me how i can achieve that
Jerry McG wrote:
>
> Rohit,
>
> I will attempt to help if you can explain what exactly you are doing in
> your form with your decorators. Be more precise. However, to quote from
> the manual: "An arbitrary number of decorators may be attached to each
> item (elements, display groups, sub forms, or the form object itself);
> however, only one decorator of a given type may be attached to each item.
> Decorators are called in the order they are registered. Depending on the
> decorator, it may replace the content passed to it, or append or prepend
> the content."
>
> Jerry
>
>
> Rohit83 wrote:
>>
>> Hi All
>> I have developed form and wrote the custom decorators for same,it works
>> fine now i want to add
>> one more standard decorator on one of the form element,Will anybody
>> suggest me the way?
>> Thanks in advance
>> Rohit
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Multiple-decorators-in-one-form-tp17878581p17881873.html
Sent from the Zend Framework mailing list archive at Nabble.com.