This topic is locked

Clearing the Advanced Search page after every search?

2/25/2008 12:34:13 PM
ASPRunnerPro General questions
H
Hylian author

Hi,
This is a very basic question; I found the answer here some time ago but I lost the code when I reset my Advanced Search page, and I cannot for the life of me find it again.
I'm using ASPRunner 5.1 and all I want to do is have my Advanced Search fields automatically reset after every search. I want the user to be able to search on the Advanced Search page, view the list of results, and then return to the Advanced Search page with a clear page; I don't want the user's previous search to be saved, like it is now. What is the code that does this?
Thanks in advance.

H
Hylian author 2/27/2008

OK, I finally found the code...

<script>

resetValues();

</script>


...but for some reason I can't get it to work. I swore that I got it to work when I originally tried it the first time; I don't know what I'm doing differently now. Is this the right code to clear your Advanced Search page after every search? If it is, where should you place it?
Thanks again.