From 07bc4db2c6a960b8c46840fbce99f6e1421f6159 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 29 Dec 2014 19:31:45 +0100 Subject: [PATCH] use "Form component" instead of "form framework" --- book/forms.rst | 2 +- book/translation.rst | 2 +- cookbook/form/data_transformers.rst | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/book/forms.rst b/book/forms.rst index 5cf0e2ca6e1..4ea7df789bf 100644 --- a/book/forms.rst +++ b/book/forms.rst @@ -1867,7 +1867,7 @@ an array. Be advised, however, that in most cases using the ``getData()`` method is a better choice, since it returns the data (usually an object) after - it's been transformed by the form framework. + it's been transformed by the Form component. Adding Validation ~~~~~~~~~~~~~~~~~ diff --git a/book/translation.rst b/book/translation.rst index a4955b05801..6dd18677641 100644 --- a/book/translation.rst +++ b/book/translation.rst @@ -573,7 +573,7 @@ the framework: Translating Constraint Messages ------------------------------- -If you're using validation constraints with the form framework, then translating +If you're using validation constraints with the Form component, then translating the error messages is easy: simply create a translation resource for the ``validators`` :ref:`domain `. diff --git a/cookbook/form/data_transformers.rst b/cookbook/form/data_transformers.rst index b7b46836812..8bbcea505c1 100644 --- a/cookbook/form/data_transformers.rst +++ b/cookbook/form/data_transformers.rst @@ -169,8 +169,8 @@ when creating your form. Later, you'll learn how you could create a custom Cool, you're done! Your user will be able to enter an issue number into the text field and it will be transformed back into an Issue object. This means -that, after a successful submission, the Form framework will pass a real Issue -object to ``Task::setIssue()`` instead of the issue number. +that, after a successful submission, the Form component will pass a real +``Issue`` object to ``Task::setIssue()`` instead of the issue number. If the issue isn't found, a form error will be created for that field and its error message can be controlled with the ``invalid_message`` field option.