Update for Symfony 3.x: See this comment to see the changes needed.   Symfony forms are quite horrible when you want to do custom things (like javascript, autocomplete, and collections or both 🙂 ). There are some solutions available on the internet, but they often “hack” the symfony form using DataTransformers and text fields. I think […]