Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-29-2008, 12:38 PM
Junior Member
 
Join Date: Apr 2008
Posts: 18
Default Display group names not showing?

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:25 AM.