Answer the question
In order to leave comments, you need to log in
Where in Symfony 4 to declare and validate the form (meaning the backend)?
There is a form, you need to validate the data from the form
Answer the question
In order to leave comments, you need to log in
It is possible in the form itself, it is possible in the DTO, it is possible in the controller
It would be more correct to use DTO with
Form validation
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question