@@ -535,7 +535,7 @@ Changing a Form's Method and Action
535535By default, a form is submitted to the same URI that rendered the form with
536536an HTTP POST request. This behavior can be changed using the :ref: `form-option-action `
537537and :ref: `form-option-method ` options (the ``method `` option is also used
538- by `` handleRequest() ` ` to determine whether a form has been submitted):
538+ by :method: ` Symfony \\ Component \\ Form \\ Form:: handleRequest ` to determine whether a form has been submitted):
539539
540540.. configuration-block ::
541541
@@ -651,15 +651,15 @@ This defines a common form "workflow", which contains 3 different possibilities:
6516511) On the initial GET request (i.e. when the user "surfs" to your page),
652652 build your form and render it;
653653
654- If the request is a POST, process the submitted data (via `` handleRequest() ` `).
654+ If the request is a POST, process the submitted data (via :method: ` Symfony \\ Component \\ Form \\ Form:: handleRequest `).
655655Then:
656656
6576572) if the form is invalid, re-render the form (which will now contain errors);
6586583) if the form is valid, perform some action and redirect.
659659
660660Luckily, you don't need to decide whether or not a form has been submitted.
661- Pass the current request to the `` handleRequest() `` method. Then, the Form
662- component will do all the necessary work for you.
661+ Just pass the current request to the :method: ` Symfony \\ Component \\ Form \\ Form:: handleRequest`
662+ method. Then, the Form component will do all the necessary work for you.
663663
664664.. _component-form-intro-validation :
665665
0 commit comments