Thanks for reply Bart.

Bart McLeod wrote:
> 
> Personally, I like to delegate building my form to a formbuilder that 
> knows how to add the decorators.
> 
Interesting idea. Can you write a bit more about it?


Bart McLeod wrote:
> 
> However, If you want to do it the basic way, you are probably looking 
> for something like adding an aliased HtmlTag decorator with Tag h2 and 
> placement   PREPEND and set the contents to your title for the question.
> 
> $multiCheckbox->addDecorator(new Zend_Form_Decorator(array('h2' => 
> 'HtmlTag'), array('tag' => 'h2', 'placement' => 'prepend'));
> 
> There are probably some errors in here, but this is  the idea. Oh, and 
> you will need to set some content on your decorator.
> 
Thanks, I`ll test it. I tried it but I missed 'placement' element  which
might be the case.

How about input after checkbox and label in the same line? 

-- 
View this message in context: 
http://www.nabble.com/Zend_Form---a-bit-more-complex-forms-tp20579513p20582703.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to