Page 1 of 1

Zend_Form and table

Posted: Wed Oct 01, 2008 11:15 am
by BornForCode
Hello,

I'm trying to use Zend_Form to create a table form, everything was fine till i got to groups, what i need to have:
http://devel.bornforcode.com/registration/register

And what i succeded to do is at:
http://devel.bornforcode.com/registration

For some reason i cannot display the group properly and having also the group label, can you please help me with this? I can also pay through paypal for a working solution (i'm really desperate).

At the moment i have these decorators defined:

Code: Select all

private $aButtonDecorators = array('ViewHelper',
        array(array('data' => 'HtmlTag'), array('tag' => 'td', 'class' => 'element')),
    );
    
    private $_aElementDecorator = array(
            'ViewHelper',
            'Errors',
            array(array('data' => 'HtmlTag'), array('tag' => 'td','class' => 'element')),
            array('Label', array('tag' => 'td')),
            array('Description', array('tag' => 'td')),
            );
    
    private $_aGroupDecorator = array(
            'ViewHelper',
            'Errors',
            array(array('data' => 'HtmlTag'), array('tag' => 'td','class' => 'element')),
            array('Label'),
            array('Description', array('tag' => 'td')),
    );
Thank you in advance for your assistance, this thing really driven me crazzy :banghead:

Re: Zend_Form and table

Posted: Thu Oct 02, 2008 10:45 am
by BornForCode
Anyone has any idea please?