I am new to symfony and PHP. I have a problem that I hope someone can help:
suppose we have 3 objects.
Groups, specialties, work; works belong to the specialty, the specialty belongs to the group.
Suppose I want to have a form to create a “job”. I want to filter my specialties according to the choice with the list of groups (just like on the travel site, where we get destinations filtered by source).
Thus, my form will contain only 2 fields. Specialty and title of work. But, in my opinion, I should have 3 fields, 1 for groups that will filter the specialty and fields related to the form.
Like the booking site, I have to see the fields from the start.
It is so simple, but I really stuck on it.
thank
source
share