OK, I have some time now, so I’ll type out a simple example. You’ll be able to figure it out from there. Let’s say they search for a city and a state.
First, your list shortcode has to be in the WP template…not in the page content, so you’ll have to set up a WP template and then where you want the list to display, put in something like
<?php echo do_shortcode('[pdb_list filter="city=' . $_GET['city'] . '&state=' . $_GET['state'] . '"]'); ?>
Now, on the page where the search goes, create an HTML form like this: (you can’t do this in the page content, it has to be in a template or any other way to add HTML to a page)
<form method="get" action="/list-display-page" >
City: <input name="city" type="text" value="" />
State: <input name="state" type="text" value="" />
<input type="submit" value="search" />
</form>
The “action” value is the url (can be either relative, as I have shown, or absolute) of your page with the list. When the form is submitted, it will go to the page with a URL like this:
/list-display-page?city=Dallas&state=Texas
The code in the template will take “Dallas” and “Texas” and insert it into the shortcode string and the list will display the results of that search. The key to understanding this is seeing the quoted string inside of the “do_shortcode” function as the shortcode that you would write on the page to show that search…but instead of being a static value, it is determined by the contents of the URL. It is as though you had
[pdb_list filter="city=Dallas&state=Texas"]
on the page.
This can also work on the same page as the list is on. If you want a form to submit to the same page as it’s on, just eliminate the “action” attribute (or make it the URL of the same page if you want). Also, the string inside of the “do_shortcode” function generates the list, so you can add any other attributes you need in there.