Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to remove all dtddwrappers and labels on zend form elements?



how to remove all dtddwrappers and labels on zend form elements?..

Answer / Mohammad Shehbaz

To remove all DTD wrappers and labels from Zend Form elements, you can customize the decorators used by the form. Here's an example:
```php
$element = new Zend_Form_Element_Text('username');
// Remove DTD wrapper
$element->setDecorators(array(
array('ViewHelper', array('escape' => false)),
));
// Remove label decorator
$element->removeDecorator('Label');
```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Zend Interview Questions

Do you know what are the methods used in decorator?

1 Answers  


Where's the model?

1 Answers  


How to write a program to show the function of action helper?

1 Answers  


Suppose your Zend engine supports the mode Then how can u configure your PHP Zend engine to support mode?

1 Answers  


What is the way in which the html can be used to form elements?

1 Answers  


Who developed the zend framework?

1 Answers  


How to include css in zend framework?

1 Answers  


Zend framework and wordpress integration?

1 Answers  


How to render view file from controller in zend framework?

1 Answers  


How to connect to the mysql database in zend framework2?

1 Answers  


Zend_cache provides a generic way to cache any data?

1 Answers  


I want to use a sql function or perform calculations in a statement I'm generating with zend_db_select. How can I do this?

1 Answers  


Categories