Zend Framework Form : Mastering Decorators

Hi dear reader,

today I am presenting you a workshop on how to master the Zend Framework form decorators.
I hope after taking a look at the code examples and explanations it all comes together and you will have a good understanding on how to use them.

Once you understand them you will start to love them, as it is a very easy way to write forms this way.

Sunny greetings and above all enjoy,

Nick Belhomme


  1. Nick says:

    Hi Corey,

    Once you have mastered the principle they get very easy to use.
    Glad to hear you like my presentation.


  2. the.ufon says:

    Hi man, i would ask you are you going to make some similar presentation for Zend_acl?? thnx for answer.. 😛

  3. Frank says:

    Hi, and many thanks for this great tutorial.
    I tried to apply it to my ongoing project, and encountered a problem regarding a input type=”file” after I cleared the decorators.

    On this page (http://framework.zend.com/wiki/display/ZFFAQ/Forms) the third Q&A-entry brought the answer.

    Every Zend_Form_Element_File needs a special decorator called “File”.

    Therefor I wrote


    and it worked.

Leave a Reply

Your email address will not be published. Required fields are marked *