I have to create a form where the drop-down lists are filled according to our choices in the previous ones.
A Region may have several Cities (ManyToOne) relationship.
I followed the documentation from here How to Dynamically Modify Forms Using Form Events (Dynamic Generation for Submitted Forms) .
I retrieve the list of regions with the query_builder option but how do I retrieve the list of cities according to the choice of region.