We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent70ca6da commit4555495Copy full SHA for 4555495
reference/forms/types/options/method.rst.inc
@@ -19,8 +19,7 @@ used to decide whether to process the form submission in the
19
20
.. note:
21
22
- If not natively supported by a client, Symfony allows to simulate PUT,
23
- DELETE and PATCH requests by using a POST request instead and passing the
24
- intended "real" method by either using a ``X-HTTP-Method-Override``
25
- request header or by passing it via the special ``_method`` data field.
26
- For more information see :doc:`/cookbook/routing/method_parameters`.
+ When the method is PUT, PATCH, or DELETE, Symfony will automatically
+ render a ``_method`` hidden field in your form. This is used to "fake"
+ these HTTP methods, as they're not supported on standard browsers. For
+ more information,see:doc:`/cookbook/routing/method_parameters`.