I need hekp to create a Custom Form Field Type for a Input which looks like:
"float, float"
I store it as a string in the database but the form input MUST be “float, float”
I dont know how to make this, I tried to look into the documentation here:
http://symfony.com/doc/2.0/cookbook/form/create_custom_field_type.html
but I did not solve it
I think what you want rather than a custom field type is a custom validator in combination with a data transformer which transforms your string input prior to validation.