8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd5a692 commit d8088ffCopy full SHA for d8088ff
book/forms.rst
@@ -890,7 +890,7 @@ to get the ``id``:
890
891
.. code-block:: html+php
892
893
- <?php echo $form['task']['vars']['id']?>
+ <?php echo $form['task']->vars['id']?>
894
895
To get the value used for the form field's name attribute you need to use
896
the ``full_name`` value:
@@ -903,7 +903,7 @@ the ``full_name`` value:
903
904
905
906
- <?php echo $form['task']['vars']['full_name'] ?>
+ <?php echo $form['task']->vars['full_name'] ?>
907
908
Twig Template Function Reference
909
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments