The form book is not fully written, and IMHO, it will not be completed (at least not soon).
My suggestion is to look into the default formatters and see how they work. If i remember well, they just define the html using object protected properties, so you can extend the default formatter and simply override the default values. BTW in my experience, formatters have almost always been too limited (except the default table) for a real usage. Almost everytime I have to define the form structure in a template and simply echoing $form ['field']->render(), renderLabel() ecc, so I usually end up writing a partial for each form and using it everywhere I need it. On Oct 7, 10:03 am, HAUSa <jeroen_heeft_behoefte_aan_r...@hotmail.com> wrote: > I want to create my own form formatter. But, how can I create it? > I searched the documentation, and at the form chapter it says: > > "By default, symfony uses an HTML array to display a form. This > behavior can be changed using specific formatters, whether they're > built-in or specifically developed to suit the project. To create a > formatter, you need to create a class as described in Chapter 5." > > But, there is no chapter 5 there! > Where can I find this information? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---