File tree 2 files changed +8
-3
lines changed
reference/forms/types/options
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 7
7
**type**: ``string `` **default**: empty string
8
8
9
9
This option specifies where to send the form's data on submission (usually an
10
- URI). An empty value is considered a same-document references, i.e. the form
10
+ URI). It' s value is rendered as the ``action`` attribute of the ``form``
11
+ element. An empty value is considered a same-document reference, i.e. the form
11
12
will be submitted to the same URI that rendered the form.
Original file line number Diff line number Diff line change 6
6
7
7
**type**: ``string `` **default**: ``POST``
8
8
9
- This option specifies the HTTP method used to submit the form' s data. Possible
10
- values are:
9
+ This option specifies the HTTP method used to submit the form's data. It' s
10
+ value is rendered as the ``method`` attribute of the ``form`` element.
11
+ Possible values are:
11
12
12
13
* POST
13
14
* GET
14
15
* PUT
15
16
* DELETE
16
17
* PATCH
17
18
19
+ As PUT, DELETE and PATCH are not nativly supported by most clients, Symfony
20
+ simulates them, see :doc:`/cookbook/routing/method_parameters`.
21
+
18
22
.. note::
19
23
Using ``PUT``, ``PATCH`` and ``DELETE`` is only allowed if
20
24
:ref:`configuration-framework-http_method_override` is enabled.
You can’t perform that action at this time.
0 commit comments