Good afternoon,
I've made a form to where a customer can register. Everything works fine except for the names of the displaygroups. I can't manage to get them to show? Is it bugged, cause I can't see what I'm doing wrong?
Code:
// code to create the text fields etc...
//below the code to add the created elements above to the form
$this->addElements(array($loginName, $wachtwoordA, $wachtwoordB, $firstName, $lastName, $emailA, $emailB,$company, $address, $zipcode, $gemeente, $country, $tel, $submit));
//below the code to add the loginname & password field to the "login info" displaygroup
$login = $this->addDisplayGroup(array('loginName', 'wachtwoordA', 'wachtwoordB') ,'login info');
// $login->setLegend('Your login information');// $login->setDescription('Your login information');
$login->setName('Your login Information');
As you can see I've tried showing the label of the display group with setLegend / setName / setDescription and neither of them worked?
Any idea's?