Symfony2 Form Component - creating fields without the forms name in the name attribute
Instead of the createBuilder function use:
$builder = $app['form.factory']->createNamedBuilder(null, 'form', $data, array('validation_constraint' => $constraint));
First parameter being the form name.
Example by Bernhard Schussek himself at https://stackoverflow.com/a/13474522/520114