I am using a login form on Symfony2 with the following controller code
public function loginAction(Request $request) { $user = new SiteUser(); $form
For not mapped form fields I use $form->get('inputName')->getViewData();