Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d0328db

Browse filesBrowse files
committed
minor #8780 Update without_class.rst (tabbi89)
This PR was merged into the 2.7 branch. Discussion ---------- Update without_class.rst `$form->isValid()` no validation is done here this method only returns bool flag if any errors occurred during validation or false if a form was not submitted. Validation happens when executing `handleRequest()` or `submit()`. Commits ------- b4c203e Update without_class.rst
2 parents c97aa11 + b4c203e commit d0328db
Copy full SHA for d0328db

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎form/without_class.rst

Copy file name to clipboardExpand all lines: form/without_class.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ an array.
6363
Adding Validation
6464
~~~~~~~~~~~~~~~~~
6565

66-
The only missing piece is validation. Usually, when you call ``$form->isValid()``,
66+
The only missing piece is validation. Usually, when you call ``$form->handleRequest($request)``,
6767
the object is validated by reading the constraints that you applied to that
6868
class. If your form is mapped to an object (i.e. you're using the ``data_class``
6969
option or passing an object to your form), this is almost always the approach

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.