Connect Search and List
-
I have a search form shortcode above a list shortcode on a custom page. It’s a page for a single day:
[event_search_form scope="2016-08-10"] [events_list limit="4" pagination="1" scope="2016-08-10"]
But the search form and list are not connected. The search form populates its own em-search-ajax div when you click the search button.
It would be ideal if the search form’s em-search-ajax div started out populated, or triggered a search on-load like the default events page. Then I would only need the [event_search_form] shortcode.
I could write some JavaScript to trigger a button click, but would rather not. Am I missing something about how the search form should be implemented?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Connect Search and List’ is closed to new replies.