WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Search Modification

Version:
printPrint


Search Modification
sportrow
Member
Avatar

Usergroup: Customer
Joined: Feb 14, 2005
Location: Iowa
Total Topics: 18
Total Posts: 41

Last Blog:

Posted 11/19/07 - 10:07 AM:
quote post
#1
Need some advice...

<IF 1>
<div align="center">
<form action="http://www.webmastersite.net/forums/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

it is all about the tortilla
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6175
Posted 11/20/07 - 11:55 AM:
quote post
#2
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.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
sportrow
Member
Avatar

Usergroup: Customer
Joined: Feb 14, 2005
Location: Iowa
Total Topics: 18
Total Posts: 41

Last Blog:

Posted 11/20/07 - 06:17 PM:
quote post
#3
Gettyup! WSNlinks is the new oil.

it is all about the tortilla
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.