Criteria Setting Via Deluge
I have a form that has a radio button named 'Filter'. There are two choices namely '2 years' and 'Custom Filter'. If 2 years is selected a table filled with number of students in each department. If Custom Filter is selected, two Date fields namely 'Start Date' and 'End Date' appear. When a user enters a date for each date field, the table should contain the number of students in each department within those dates.
Problem: If I select 2 years, nothing happens to the table, it only displays all of the records in the application. I think it has something to do with my criteria setting.
Note: The table On Load already displays all of the records in the application. It will only be updated once. I select a filter. The view for the table is done through a display function I made.