Commit bd41b74
committed
minor #11905 Added example for direct form submit with validation (patrickbussmann)
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #11905).
Discussion
----------
Added example for direct form submit with validation
See symfony/symfony#25331.
I had the same issue.
My registration form is filled via an API call and this call contains only filled fields.
But when the user is missing all fields its an empty array and then the username and email will not be validated.
After I found out that this is the behaviour I want to share this knowledge ;-)
Commits
-------
c81d30a Added example for direct form submit with validation1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
0 commit comments