Category: Symfony

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 […]

Today, I was confronted to a tricky problem: identify two different types of user, using the FOSUserBundle of Symfony.