NOTE: Tested on Symfony2 Beta3. Might not work on later releases!
Symfony2 offers many prebuilt field types for using when creating forms. The one of them I found interesting is ‘EntityType’. There are just basic documentation about that.
I had one case recently that I had to use Entity field type for creating form, but except using it in simple way like documented I wanted to use it on little more advanced way.I have table in database called statuses that have basic filelds like:
id (int11), status_name (varchar 50), status_type (varchar 20). I defined 3 basic statuses that will be used for all items I have to describe their state:
draft, live, deleted
but, also I have more statuses defined that is for other purposes.

