 | |  |
 |

wendy
User
Aug 19, 2008, 4:54 PM
Post #1 of 5
(3600 views)
Shortcut
|
|
Search Form - narrowing search
|
Can't Post
|
|
Hi - I am trying to do a name search a certain category. I only want to return results for art_field1 value Draper Fisher Jurvetson. The code below is returning all results. Thanks, Wendy The code is: <form id="portfolioform3" action="$settings.searchUrl$" method="post" name=""portfolioform3"> <input type="hidden" name="perpage" value="30" /> <input type="hidden" name="keywordSearchFields" value="art_field1" /> <input type="hidden" name="keyword" value="Draper Fisher Jurvetson" /> <input type="hidden" name="action" value="search" /> <input type="hidden" name="template" value="searchEngine/search_resultsDFJ.html" /> <h2>Select Draper Fisher Jurvetson Team</h2> <table> <tr> <td><label for="teamindustry">Name</label></td><td><input type="text" name="keyword" /> </td> </tr> <tr> <td><label for="teamindustry">Title</label> </td> <td><select id="teamindustry" name="categoryNum" size="1"> <option value="">All</option> <option value="1">Managing Director/Partner</option> <option value="19">Director</option> <option value="22">Venture Partner</option> <option value="53">Principal</option> <option value="20">Associate</option> <option value="21">Analyst</option> </select> </td> </tr> <tr> <td colspan="2"><input class="img" type="image" name="input" value="search" src="/images/buttons/button_select.jpg" /> </td> </tr> </table> </form>
|
|
|  |
 |

Jake
Staff
/ Moderator

Aug 20, 2008, 7:39 PM
Post #2 of 5
(3512 views)
Shortcut
|
|
Re: [wendy] Search Form - narrowing search
[In reply to]
|
Can't Post
|
|
Hi Wendy, In Article Manager, you can only have one "keyword" form item at a time. Because you have both a hidden form field and a regular text field set up for this, all results are being returned because Article Manager is disregarding the hidden keyword value. Unfortunately there isn't really a way around this limitation. Let us know if you need anything else. ----------------------------------------------------------- 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.
|
|
|  |
 |

wendy
User
Aug 20, 2008, 10:59 PM
Post #3 of 5
(3500 views)
Shortcut
|
|
Re: [Jake] Search Form - narrowing search
[In reply to]
|
Can't Post
|
|
Thanks Jake. If I wanted to find a keyword name and title (a category in the dropdown) category within category 29, how would I set that up? Remove: <input type="hidden" name="keywordSearchFields" value="art_field1" /> <input type="hidden" name="keyword" value="Draper Fisher Jurvetson" /> and put in <input type="hidden" name="catNum" value="29" />
(This post was edited by wendy on Aug 20, 2008, 11:02 PM)
|
|
|  |
 |

Jake
Staff
/ Moderator

Aug 21, 2008, 11:44 AM
Post #4 of 5
(3456 views)
Shortcut
|
|
Re: [wendy] Search Form - narrowing search
[In reply to]
|
Can't Post
|
|
Hi wendy, I'm not entirely sure what you're after, but if you remove the two lines of code you mentioned, the keyword restriction for that article would be dropped. Adding in the hidden category input tag would restrict all results to that specified category only. If you left your regular keyword search field in place, it would do a keyword search within all articles in category 29. I hope that helps! ----------------------------------------------------------- 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.
|
|
|  |
 |

wendy
User
Aug 21, 2008, 2:54 PM
Post #5 of 5
(3449 views)
Shortcut
|
|
Re: [Jake] Search Form - narrowing search
[In reply to]
|
Can't Post
|
|
Thanks. Got it working.
|
|
|  |
|