Return to Snippet

Revision: 18532
at October 1, 2009 16:28 by skwok


Initial Code
$u = $request->getParameter('u');
$form = new MyPropelForm()
$form->setDefault('form_param_name', $u);

Initial URL


Initial Description
The following snippet sets a value in sfPropelForm. I have tried $form->getValues() and setting a value in it and also getting the embedded object and calling one of the setters without success.

Initial Title
sfPropelForm default value

Initial Tags


Initial Language
PHP