Zend_Form and table

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
BornForCode
Forum Contributor
Posts: 147
Joined: Mon Feb 11, 2008 1:56 am

Zend_Form and table

Post 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:
BornForCode
Forum Contributor
Posts: 147
Joined: Mon Feb 11, 2008 1:56 am

Re: Zend_Form and table

Post by BornForCode »

Anyone has any idea please?
Post Reply