Results 1 to 2 of 2

Thread: Front page search form

  1. #1
    Join Date
    Jan 2005
    Posts
    56

    Default Front page search form

    Hi, I', working on a front page search where I need to make a searchable box for listing id, which is to be included in the main search form.

    Heres the problem, if i create a search string which goes:

    index.php?price-min=&price-max=&state=Moon&searchtext=&action=searchresults&p class[]=

    it works fine, but when I add the listing_id call into to the string it gives me the no results page.

    index.php?price-min=&price-max=&state=Moon&searchtext=&listing_id=&action=searchresults&pclass[]=

    any ideas where im going wrong here?

  2. #2
    Join Date
    Aug 2004
    Location
    Săo Paulo - Brasil.
    Age
    39
    Posts
    151

    Default Re: Front page search form

    Ola blink.

    You talk about two types of search, by "searchable box" and by Listing ID, so, Separate the forms, like:

    HTML Code:
    <!-- Search by Listing ID -->
    <form action="index.php">
    <input name="action" value="listingview" type="hidden">
    Search by Listing ID:
    <input size="4" name="listingID" type="text">
    <input value="Search" type="button" onclick="submit();">
    </form>
    
    <!-- You custon Searchable field options -->
    <form action="index.php">
    
    </form>
    []´s

    ...a blind padawan...

Similar Threads

  1. Tabbed Search box on the front page
    By cgately in forum Templates - Help/Ideas/Discussion (CLOSED)
    Replies: 4
    Last Post: 06-14-2009, 12:40 PM
  2. search form on front page
    By wilkins58 in forum General Help (CLOSED)
    Replies: 3
    Last Post: 08-03-2005, 08:13 AM
  3. city search on front page
    By aphextwin in forum Mods (CLOSED)
    Replies: 5
    Last Post: 06-25-2005, 02:14 PM
  4. Search box on the front page
    By limey in forum HELP (CLOSED)
    Replies: 19
    Last Post: 01-14-2005, 09:33 PM
  5. Basic Search On Front Page
    By lasor in forum HELP (CLOSED)
    Replies: 1
    Last Post: 07-30-2004, 06:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •