Search Modification
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on Search Modification
Member
Usergroup: Customer
Joined: Feb 14, 2005
Location: Iowa
Total Topics: 20
Total Comments: 43
Need some advice...
<IF {SWITCH_SEARCHINCAT}>
<div align="center">
<form action="search.php?filled=1&condition={DEFAULTSEARCHTYPE}" method="post"><input type="hidden" name="whichtype" value="links" />
Search for <input type="text" name="search" size="{STANDARDSIZE}" />
in <select name="incat"><option value="">All Categories</option>{CATOPTIONS}</select>
<input type="submit" value="Search" class="button" /></form></div>
</IF>
Can someone help me change this so that search field can remain blank if they just want to select a category when they click submit.
Thanks Bunches
Cory
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You mean a blank search would redirect to the selected category? That's a bit tricky, but I suppose it makes sense so I'll have it be a default behavior in the future.
Member
Usergroup: Customer
Joined: Feb 14, 2005
Location: Iowa
Total Topics: 20
Total Comments: 43
Gettyup! WSNlinks is the new oil.