Print Page | Close Window

narrow down the search

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=6757
Printed Date: 31 March 2026 at 11:59am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: narrow down the search
Posted By: Lucent
Subject: narrow down the search
Date Posted: 27 October 2003 at 10:37am

Hi, I have this add on script from the ecommerce site that I bought, but they dont provide support on add on scripts, I hope someone can help me out here.  The script is a simple search box, but I need to modify it to meet my need.  It is a simple search within the site with just a text box and go button right now. I want it to be able to select women, men, unisex, or on sale first, then enter in the keyword in text box, so it will arrow down the search result,  I have tried many ways but no luck . I'll be greatful for any help..thank you..

Here is the script of the search box

------------------------------------------------------------ -

<!-- Search box starts here -->
<table width="140" border="1" cellpadding="0" cellspacing="0">
<tr>
 <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
 <td align="right">
 <font size="2" face="Arial, Helvetica, sans-serif"><strong>Search&nbsp;</strong> </font>
 </td>
</tr>
<tr>
 <td>
 <table cellpadding="2" cellspacing="0">
   <tr>
    <td align="right">
 <form action="Search.asp" name="search" method="get">
    <input type="Hidden" name="priceFrom" value="0">
    <input type="Hidden" name="priceUntil" value="99999">
    <input type="Hidden" name="idCategory" value="0">
    <input type="Hidden" name="withStock" value="-1">
    <input type="Hidden" name="idSupplier" value="10">
 <input type="hidden" name="resultCnt" value="10">
    <input type="Text" name="keyword" size="12">
    </form>
 </td>
    <td width="48" valign="top">
 <img src="images/search_go.gif" onclick="document.search.submit();" alt="search" width="22" height="21" border="0">
    </td>
    </tr>
 </table>
 </td>
</tr>
<tr>
 <td align="right">
 <a href="advsrca.asp">
 <img src="images/search_advanced.gif" alt="Advanced search" width="126" height="19" border="0"></a>
 </td>
</tr>
<tr>
 <td height="6"></td>
</tr>
</table></td>
</tr>
</table>
<!-- Search box ends here -->

------------------------------------------------------------ -----

 

 

 




Replies:
Posted By: michael
Date Posted: 27 October 2003 at 11:11am
The problem is not the form, you can just add the form fields required for you. You would have to change probably the whole search script to accomodate your needs. If you add those fields, you would have to add the entries into the query on the actual search page. As I don't know how the data is stored (fields etc.) I cannot help you much more here...

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net