Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Listings Manager (Realty Manager & Auto Manager):
Search 1field automatic filled in

 

 


GoStatic
User

Oct 24, 2008, 8:47 PM

Post #1 of 6 (2732 views)
Shortcut
Search 1field automatic filled in Can't Post

Hi,

Is it possible to add a search result automatically to a search,

ie,



If i want people to search for properties in florida, when they click on search it will add lfield=florida without my users having to select florida,

I hope that makes sense,

Thanks Darren


Donna
Staff / Moderator


Oct 27, 2008, 4:30 PM

Post #2 of 6 (2466 views)
Shortcut
Re: [GoStatic] Search 1field automatic filled in [In reply to] Can't Post

Hi Darren,

I'm not quite following what you're looking for -- where would your users be clicking to get the automatic search?

Donna

--
support@interactivetools.com


GoStatic
User

Oct 27, 2008, 5:53 PM

Post #3 of 6 (2459 views)
Shortcut
Re: [Donna] Search 1field automatic filled in [In reply to] Can't Post


In Reply To
Hi Darren,

I'm not quite following what you're looking for -- where would your users be clicking to get the automatic search?



Hi Donna,

Apologies for my first post, I just read it back and it didn’t make too much sense.

Basically what I want to do is use the same search box for the different area my properties are in, however in each of the area only that area can be search.

For example,

I have a search box on the right hand side of my ‘africa’ page http://www.govillarentals.co.uk/africa.php

I have a field set up for location, which as can be seen on that page I have as a drop down. However because the visitors to this page will only be wanting to search for properties on Africa, instead of making them use the drop down, I want to include ‘africa’ automatically when somebody clicks on search listings.

I hope that makes more sense,

Darren


Donna
Staff / Moderator


Oct 28, 2008, 11:08 AM

Post #4 of 6 (2342 views)
Shortcut
Re: [GoStatic] Search 1field automatic filled in [In reply to] Can't Post

Hi Darren,

Aha! I see what you're looking for.

You bet. You can add a hidden field instead. So, instead of your select tag, replace it with this:

<input type="hidden" name="lfield12_keyword" value="africa">

Give that a try and let me know if you have any trouble. :)

Donna

--
support@interactivetools.com


Donna
Staff / Moderator


Oct 28, 2008, 11:10 AM

Post #5 of 6 (2339 views)
Shortcut
Re: [Donna] Search 1field automatic filled in [In reply to] Can't Post

One other option, if you'd like your users to be able to change the search field as well, is to set one particular field as the default. You can do this like this:

<select name="lfield12_keyword">
<option value="">All Listings</option>
<option SELECTED>Africa</option>
<option>Asia</option>
<option>Caribbean</option>
<option>Central America</option>
<option>Europe</option>
<option>Middle East</option>
<option>North America</option>
<option>Oceania</option>
<option>South America</option>
</select>

I hope this helps. :)

Donna

--
support@interactivetools.com


GoStatic
User

Oct 29, 2008, 2:34 AM

Post #6 of 6 (2281 views)
Shortcut
Re: [Donna] Search 1field automatic filled in [In reply to] Can't Post

Hi Donna,

Thanks for getting back to me, the first option is perfect.

Thanks again and sorry for any confusion,

Darren