This topic is locked

Automatic reset of Advanced Search???

6/27/2009 5:11:49 PM
PHPRunner General questions
M
mlapl1 author

Hello
In PHPRunner 5.0, is it possible to set things up so that every time the advanced search page is entered all fields are automatically reset?
In other words, I would like all information entered during a previous search to be removed from the advanced search form.
Thanks a lot

Andrew

J
Jane 6/30/2009

Andrew,
use Search page: before process event for this purpose.

Here is a sample:

global $strTableName;

$_SESSION[$strTableName."_search"]= 0;