How to add filters (dropdownlist, checkbox, etc)
- Single Page
Posted 11 July 2012 - 05:52 AM
I am new to this MVC stuff including obviously CodeIgniter and GroceryCrud. Having a little trouble working within these frameworks. Need help.
I would like to add one or more filters to narrow my record set. I realize there is a search box that comes built in but ofcourse I need more. I want to be able to add, for example, a dropdownlist for states that when you select one it will only have those records where the state is IL or whatever state you pick.
Best case scenario, I would have one or more dropdownlists and a submit button that resubmits the query and returns a new record set.
Posted 11 July 2012 - 14:12 PM
GC is very nice, but it is implied that you know your way around CI and grasp the concepts of MVC before you use it.
I recommend the official CI site tutorials from the link below:
http://codeigniter.com/tutorials/
Wikipedia's MVC page will give you a nice view of what it is:
http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
Cheers.
Posted 11 July 2012 - 21:26 PM
BUT back to my original question...no one has addressed it anywhere on this site. I need some help. These videos will not help as I have seen them. So if anyone has done this please advise.