May not be the most elegant, since I'm so new to JavaScript, but decided that
since @URLOpen is calling the OnSubmit, I needed to change it. Best way I knew
was to test for the string in the search box, and if it was null, just go on,
otherwise do the returnfalse call. I called the field NewQuery (since Query
means something else on the Search Results Page). Here's the code I used....
May not be the most elegant, since I'm so new to JavaScript, but decided that since @URLOpen is calling the OnSubmit, I needed to change it. Best way I knew was to test for the string in the search box, and if it was null, just go on, otherwise do the returnfalse call. I called the field NewQuery (since Query means something else on the Search Results Page). Here's the code I used....
if (document.forms[0].NewQuery.value == "") { return } else { return returnfalse(this.NewQuery); }