Sorry for hijacking... it's still related to the same original topic.
It worked for 10 minutes... now they all come back with a full recordset (108 records). Whether clicking or entering. Hmm.... How would one trigger off of a form element value?
Right now the trigger is:
if ((isset($_POST["WADbSearch1"])) && ($_POST["WADbSearch1"] != "")) {
Which is the button name. Do you mean to change it to the name of the form:
if (isset($_POST["SiteSearch"])) {
Thanks!
Monica
*** EDIT ***
I found if I wrapped everything in this:
if (isset($_POST["searchtype"]) && ($_POST["searchtype"] == "data")) {
Using my hidden field for a validation it worked great. I also wrapped everything from the INCLUDE helper file as well as the recordsets in that boolean so that if they just happen to land on the results page without entering a keyword it just gives them a prompt to type a search keyword into the box.
***