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


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-05-2008, 05:11 AM
Junior Member
 
Join Date: Aug 2008
Posts: 3
Exclamation How to remove tags in my Zend Form.

Hello, first sorry for my english.
Well I have an Element with this code:

PHP Code:
$username $this->createElement('text''username')
                 ->
setLabel('UserName')       
                ->
setRequired(true); 
and the output is:
PHP Code:
<dt><label for="username" class="required">Username</label></dt>
<
dd>
<
input type="text" name="username" id="username" value="">
<
ul class="errors"><li>Its Empty</li></ul></dd
But, I need the following output:

PHP Code:
<label for="username" class="required">Username</label>
<
input type="text" name="username" id="username" value=""

How Could I remove ''<dt>'' and ''<dd>'' tags in my element?

Please, help me, I am noob in Zend Framework. I am learning.

Best Regards.
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 11:47 PM.