This topic is locked

Advanced Search Hide Dropdown

8/15/2006 3:45:25 PM
PHPRunner General questions
B
bbanks author

How do I hide the Dropdown list that has Contains, Equals in it? My list only has Equals and I don't want to show it.
Thanks

Alexey admin 8/16/2006

Bart,
you need to replace SELECT control in ..._search.php file with HIDDEN with the same name and value.

I.e. replace this line:

<?php $havesecond=WriteSearchOptions("FieldName",$fmt); ?>

with this one:

<input type=hidden name="asearchopt[]" value="Equals">



where FieldName is your actual field name.

B
bbanks author 8/16/2006

Thanks Alexey that worked perfect.

Bart,

you need to replace SELECT control in ..._search.php file with HIDDEN with the same name and value.

I.e. replace this line:

with this one:
where FieldName is your actual field name.