Is there an example to see how one can implement a search form using Zend Forms in Zend Framework2. I needed a search form for every category and every category has different columns in the database which needs to be searched.
Let me say I have a Country category, under this there are many elements which can be searched like country name, states belonging to the county, language spoken in the country and so on.
So when a user types either a state or country or language I need to display all possible details. Is there something like a module already existing in Zend Framework2 or I should be implementing everything form scratch. In case if I need to do all from scratch, then what is the best way to approach this.
Im using Doctrine ORM to communicate with my DB. So in case if somebody has already worked on both of these then your suggestions would be appreciated.