Skip to content

Commit a89d27a

Browse files
committed
putting final thoughts back
1 parent e9807dd commit a89d27a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

forms.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,16 @@ the choice is ultimately up to you.
700700

701701
$form->get('dueDate')->setData(new \DateTime());
702702

703+
Final Thoughts
704+
--------------
705+
706+
When building forms, keep in mind that the first goal of a form is to translate data
707+
from an object (``Task``) to an HTML form so that the user can modify that data.
708+
The second goal of a form is to take the data submitted by the user and to re-apply
709+
it to the object.
710+
711+
There's a lot more to learn and a lot of *powerful* tricks in the form system.
712+
703713
Learn more
704714
----------
705715

0 commit comments

Comments
 (0)