Although you can always customize Symfony’s form by using templates, it is not necesarily the most practical solution. You might want to customize the way Symfony renders the form somewhere where the HTML structure is being generated in the first place. That’s where the form formatter comes in.
Read more…