This topic is locked

Changing Default 'Any Field' - 'Contains'

6/23/2008 4:08:19 AM
PHPRunner General questions
W
wypman author

Is it possible to change the default values for the search dropdowns from 'Any Field' - 'Contains' ?

J
Jane 6/23/2008

Hi,
use List page: Before display event for this purpose.

Here is a sample code:

$smarty->assign("search_FieldName","selected");

$smarty->assign("search_equals_option_selected","selected");

W
wypman author 6/23/2008

Hi,

use List page: Before display event for this purpose.

Here is a sample code:


Fantastic - that works really well thank you.