We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6da16ba commit b185a9aCopy full SHA for b185a9a
guides/forms.rst
@@ -79,7 +79,7 @@ the data is stored in a POST parameter with the name of the form::
79
// form setup...
80
81
if ('POST' === $this['request']->getMethod()) {
82
- $form->bind($this['request']->get('customer'));
+ $form->bind($this['request']->request->get('customer'));
83
84
if ($form->isValid()) {
85
// save $customer object and redirect
@@ -277,7 +277,7 @@ Now we can easily adapt the form in the controller::
277
$form->add($group);
278
279
280
- $form->bind($this['request']->get('registration'));
+ $form->bind($this['request']->request->get('registration'));
281
282
283
$registration->process();
0 commit comments