This topic is locked

Clearing the Advance Search Fields

5/16/2008 3:22:28 PM
PHPRunner General questions
M
mrohde author

I am using the advance search screen to search a database to determine eligilbility for issueing a permit. After the search data is retuned and the user presses the Advance Search button again to retun to the advanced search screen I would like to reset the form to blank without clicking the reset button. Has anyone dome this or know how?

J
Jane 5/20/2008

Hi,
use Search page: Before display event on the Events tab for this purpose.

Here is a sample:

$smarty->assign("value_FieldName1","");

$smarty->assign("value_FieldName2","");

M
mrohde author 5/20/2008

Hi,

use Search page: Before display event on the Events tab for this purpose.

Here is a sample:


<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=29477&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' /> Thanks Jane this worked like a charm!!!!