Skip to content

Form rendering and form submitting #7915

Discussion options

You must be logged in to vote

What can we handle at this moment if we just opening the page? It seems wrong for me because it breaks form events handling in Symfony framework

There won't be any data to handle but that's a classic way to handle form.
Then you check if the form is submitted/valid.

See https://symfonycasts.com/screencast/symfony-forms/form-submit for instance.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jordisala1991
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants