 |

annie
User
Jan 23, 2008, 6:12 AM
Post #1 of 3
(1045 views)
Shortcut
|
|
Searching in two categories at once
|
Can't Post
|
|
Is it possible to do a keyword search on two fields at the same time? For example: <input type="text" name="lfield1_keyword" name="lfield3_keyword" value="" class="input"> What I'm trying to achieve is this - lfield1 has the product name in it and lfield3 has the product details. I want searchers to be able to find a suitable product by inputting either name or details. Obviously the above code doesn't work. Any ideas please?
|
|
|  |
 |

Jake
Staff
/ Moderator

Jan 24, 2008, 9:33 AM
Post #2 of 3
(969 views)
Shortcut
|
|
Re: [annie] Searching in two categories at once
[In reply to]
|
Can't Post
|
|
Hi annie, I think the only way to do this would be to use some javascript that passed the value entered for one field to another - I'm sure that this is possible to set up, but unfortunately I don't know much javascript myself. It's worth mentioning that if you got this set up, the search results would only display listings that contained the search term in both fields - not one or the other. So you may find that only searching on one of these fields is the best thing to do. Let us know if you have any other questions. ----------------------------------------------------------- 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.
|
|
|  |
 |

annie
User
Jan 24, 2008, 10:34 AM
Post #3 of 3
(966 views)
Shortcut
|
|
Re: [Jake] Searching in two categories at once
[In reply to]
|
Can't Post
|
|
OK Jake. I think I'll have to search on one field at a time. Cheers.
|
|
|  |
|