/ Published in: PHP
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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$u = $request->getParameter('u'); $form = new MyPropelForm() $form->setDefault('form_param_name', $u);