 |

sammahoney
User
Jun 17, 2007, 9:02 AM
Post #1 of 2
(585 views)
Shortcut
|
|
Search Query setup
|
Can't Post
|
|
This has probably been covered here somewhere already, and I'm sure there's a real simple answer, but I can't find a post about it so... I'm setting up my Search Query page. I'm setting the default search boxes to 'Any' so if someone doesn't really know what they want and just want to view everything, they can leave them set to 'Any' and just hit 'Search'. How do I get it to show all the listings when you search for 'Any'? It's not gonna be a Keyword or Match search, so what is it? At the moment it returns no results. <select name="lfield16_keyword" id="lfield16_keyword"> <option value="Region" selected>Any</option> <option>Zagreb-Inland </option> <option>Istria-Kvarner </option> <option>North Dalmatia </option> <option>Central Dalmatia </option> <option>South Dalmatia </option> </select>
|
|
|  |
 |

Jake
Staff
/ Moderator

Jun 18, 2007, 11:38 AM
Post #2 of 2
(562 views)
Shortcut
|
|
Re: [sammahoney] Search Query setup
[In reply to]
|
Can't Post
|
|
Hi sammahoney, Thanks for posting! To set this up, all you need to do is pass an empty value to the search engine. Take a look at this option tag: <option value="">Any</option> Note that there is no value contained within the quotes. What this will do is display an option without actually passing any data to the search engine, which means the results won't be filtered at all. Let us know if you have any other questions about this.
----------------------------------------------------------- Cheers, Jake Swanson - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|