This topic is locked

Search Option

1/24/2010 10:36:57 PM
PHPRunner General questions
J
jefflau author

Dear Sir,

In PHPRunner v5.1 I was esily set search default as equal. May I know in v5.2 How may I set it

J
Jane 1/26/2010

Hi,
to change search optino on the advanced search page edit generated ..._search.php file. Find this code:

$firstFieldParams['fName'] = "FieldName";

$firstFieldParams['eType'] = '';

$firstFieldParams['value1'] = '';

$firstFieldParams['opt'] = '';

$firstFieldParams['value2'] = '';

$firstFieldParams['not'] = false;



and replace it with this one:

$firstFieldParams['fName'] = "FieldName";

$firstFieldParams['eType'] = '';

$firstFieldParams['value1'] = '';

$firstFieldParams['opt'] = 'Equals';

$firstFieldParams['value2'] = '';

$firstFieldParams['not'] = false;