Webmastersite.net
Register Log In

Search Modification

Comments on Search Modification

sportrow
Member

Usergroup: Customer
Joined: Feb 14, 2005
Location: Iowa

Total Topics: 20
Total Comments: 43
Posted Nov 19, 2007 - 10:07 AM:

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
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 20, 2007 - 11:55 AM:

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.
sportrow
Member

Usergroup: Customer
Joined: Feb 14, 2005
Location: Iowa

Total Topics: 20
Total Comments: 43
Posted Nov 20, 2007 - 6:17 PM:

Gettyup! WSNlinks is the new oil.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.