In Symfony, you can alter the public request attribute from the $request object and set or add parameters. Example:
$request->request->set("formField1", "value1"); $request->request->set("formField2", "value2");
You can also add new form fields and values with ->add:
$request->request->add(array("formField1"=>"value1", "formField2"=>"value2"));