Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - narrow down the search
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

narrow down the search

 Post Reply Post Reply
Author
Lucent View Drop Down
Groupie
Groupie


Joined: 06 June 2003
Status: Offline
Points: 111
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lucent Quote  Post ReplyReply Direct Link To This Post Topic: narrow down the search
    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 -->

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

 

 

 

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.