After someone makes their selections, how are you passing the selected parameters to the grid view so it can filter the results?
The search forms and grid views do not link to each other automatically. Your selection criteria must be passed in a URL as Query string parameters or through an optional shortcode that assigns values to a view just before it runs its query and displays the results on the page. When using Query string parameters, you have to "Submit" the results with a submit button, then redirect the page back to itself with a properly formatted query string so the view can display the search results.
Regardless of whether you use a Query string or shortcode to assign filter values, the grid view needs to run the SQL query on the server that includes the filter parameters established by the cascading drop down. This is a round trip data express to the server. You submit the search criteria, a query string is constructed that passes those parameters to your grid view, your grid view runs the SQL Query with filtered parameters, and returns the results to the browser for display on your page. That's the process. It sounds like you could have missed a step.
Have you watched the video on how to create a search? https://www.youtube.com/watch?v=PJFES5URcwg
Bobby, thank you for your help. I have watched that video. I have narrowed down the part of the video that contains the answer to my question and I will do my best to implement it in my solution.
On submit has been removed in favor of a new "Confirmation" action over in "Actions & Notifications" settings in the latest version.
I figured out where they hid the "On Submit" functionality. It's under Settings/Actions & Notifications/Confirmation.
I figured out where they hid the "On Submit" functionality. It's under Settings/Actions & Notifications/Confirmation.
Please login or Register to submit your answer