I have a text box on my form. I want only a comma separated keyword in that. How to put this type of validation in symfony2. 
I found 
<http://symfony.com/doc/current/reference/constraints.html>

and
 <http://symfony.com/legacy/doc/forms/1_2/en/02-form-validation>

but not as I required.