diff --git a/forms.rst b/forms.rst index 34ea4d78673..084aaa63030 100644 --- a/forms.rst +++ b/forms.rst @@ -61,7 +61,7 @@ to do with Symfony or any other library. It's quite simply a normal PHP object that directly solves a problem inside *your* application (i.e. the need to represent a task in your application). Of course, by the end of this article, you'll be able to submit data to a ``Task`` instance (via an HTML form), validate -its data, and persist it to the database. +its data and persist it to the database. .. index:: single: Forms; Create a form in a controller @@ -114,7 +114,7 @@ from inside a controller:: Creating a form requires relatively little code because Symfony form objects are built with a "form builder". The form builder's purpose is to allow you -to write simple form "recipes", and have it do all the heavy-lifting of actually +to write simple form "recipes" and have it do all the heavy-lifting of actually building the form. In this example, you've added two fields to your form - ``task`` and ``dueDate`` - @@ -259,7 +259,7 @@ your controller:: is called. Otherwise, changes done in the ``*_SUBMIT`` events aren't applied to the view (like validation errors). -This controller follows a common pattern for handling forms, and has three +This controller follows a common pattern for handling forms and has three possible paths: #. When initially loading the page in a browser, the form is created and