P
P
postgresdev2019-09-10 11:17:03
symfony
postgresdev, 2019-09-10 11:17:03

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

1 answer(s)
D
Denis Derepko, 2019-09-10
@postgresdev

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 question

Ask a Question

731 491 924 answers to any question