Is it possible to have one search box search many fields? ( and "autocomplete" the results)?

I'm really new to the whole area of JSON, autocomplete and javascript. My first project in this area is personal: making it easier to search for wines in my wine cellar.
I have all my wines in a sqlite database (driven by CF 9 of course) and have a nice UI to report on, add, modify, delete, etc.  What I want to add is a search capability that works like this:  a user types text in a search box in any order they want and automagically, the wine is found. 
To be specific, a user could start with "2005 Caymus" and the area below the text search box would be populated with all of the varietals of Caymus for 2005 that are in the cellar.   Similarly the user might start the search by typing "2005 Cabernet" in which case anything in the cellar that is from 2005 and a Cabernet Sauvignon or a Cabernet Franc from all wineries would appear below the text box. Or maybe they just want to see what French wines are in the cellar, so they'd start their search with "France" or "French". (BTW,  winery, vintage, wine type (varietal), country, appellation, etc. are all separate fields in the database/table.)
Is my imagined search capability possible, or does each aspect of the search (year, winery, wine type/varietal) have to be user-entered into a separate text box?
Any guidance/answers greatly appreciated!  If you're local, might even be worth sharing a vintage bottle of wine!

Sorry I was unclear.
Google is a single text box.  If you type "coldfusion 9 new features"
you get a good listing of your results without having one box for
software one for version one for descriptor and
one for topic .  Similarly with Google it's likely you'll get
somewhat similar results typing in "new features coldfusion 9" or
"coldfusion 9 features".  So for my wine app I just want to present the
user with one box so they can type in "Caymus 2005 Cabernet Sauvignon"
(a "specific" search) or "2005" (a search for all wines from that year),
etc.  It's the cleanness of the user experience I'm trying to
accommodate here.    Make sense?

Similar Messages

  • Is it possible to have 2 different output config XML files and index the data into 2 endeca apps using the same indexing component ProductCatalogSimpleIndexingAdmin

    Hi ,
    We have a catalog that defines 2 types of products (they have too many different properties), so wanted to keep them on two different MDEX engines and serve the applications requests. Here DB catalog and front end ATG application is same for both the MDEX instances.
    Is it possible to have 2 different output config XML files and index the data into 2 endeca apps using the same indexing component ProductCatalogSimpleIndexingAdmin?
    Thanks
    Dev

    Hi, also have had some problem some monthes ago - I created separete component ProductCatalogSimpleIndexingAdminSecond. After that one of my colleage gave me some advice:
    The creating separate component like ProductCatalogSimpleIndexingAdmin for the second IOC is possible way for resolving your situation. But I afraid that this way will be required creating mane duplicates for already existed components.
    In my opinion the better way is the following:
    starting from AssemblerApplicationConfiguration and ApplicationConfiguration component. It contains details for connecting between ATG and Endeca. Of course you should configure different components for different Endeca Apps.
    After that:
    Find all components that uses AssemblerApplicationConfiguration and ApplicationConfiguration. Customize these components for using one or another  *Configuration component depending on what index works. (many variants released it: the most simple global custom component with flag.)
    Then customize the existed ProductCatalogSimpleIndexingAdmin. Using one or another IOC  and setting the flag in global custom component when index started. You can add some methods into your custom ProductCatalogSimpleIndexingAdmin like:
    Execute baseline index for both IOC (one by one)
    Execute baseline for IOC 1
    Execute baseline for IOC 2.
    Note: you should be afraid about incremental (partial) index in this configuration. But resolving conflicts in incremental index should be done after full implementation these changes.
    Regards

  • How to have a button to reset a field and not the whole form?

    Hi,
    Can anyone help me with this dilemma please? All tutorials online demonstrates how to have a button to reset the whole form, but i only want the user to clear 1 field in the form.
    I have a form which has a field representing a persons name who has booked out a piece of equipment. I would like the administrator to be able to clear the field quickly without having to select the whole name and then delete it, ready to insert the name of another booker.
    Any help would be very much appreciated. (If it is using dreamweaver features than that is better.)
    Thank you!

    There's nothing in DW that will do this for you.
    This script from the internet seems to do the trick. Add this to the <head> section of your page...
    <script type='text/javascript' src='http://code.jquery.com/jquery-1.7.1.js'></script>
    <script type='text/javascript'>//<![CDATA[
    $(window).load(function(){
    function resetForm() {
      $(this.previousSibling).val(function() {
      return this.defaultValue;
    $( "input[type='button']" ).bind( "click", resetForm );
    });//]]> 
    </script>
    Then add your form in the <body>...
    <form>
      <label for="textfield1">Text Field:</label>
      <input type="text" name="textfield1" id="textfield1"><input type="button" value="reset" /><br />
      <label for="textfield2">Text Field:</label>
      <input type="text" name="textfield2" id="textfield2"><input type="button" value="reset" /><br />
      <label for="textfield3">Text Field:</label>
      <input type="text" name="textfield3" id="textfield3"><input type="button" value="reset" /><br />
      <label for="textfield4">Text Field:</label>
      <input type="text" name="textfield4" id="textfield4"><input type="button" value="reset" /><br />
    </form>
    EDIT: Ha! Same script as you found Nancy, posted originally at the exact same time too (I threw a couple modifications in)...
    Good times, good times.

  • Is it possible to have one partnerLinkType refer to many services?

    I've only been recently introduced to BPEL and WSDL, so I apologise if this seems a silly question. Regardless: the way I understand things, is that wsdl portTypes are intended to represent an interface with a service. That is, a portType is effectively a list of operations. A binding associates these operations with some concrete concepts, for example converting data types in the case of a java binding. Finally, a service gives the actual location of the implementation of a binding.
    Then comes the bit i'm having trouble with: When we specify a partnerLinkType, we only give it a portType, which can be associated with potentially several bindings, and thus potentially several services. Is it at all possible to limit this, so a partnerLink refers to only one service, while still being able to keep a general port type?
    The reason I ask is that i'm trying to do something where there might be many implementations of a service, and I'd like a partnerLink with each of them.
    For example, think of a portType which supports a searchFlights operation, a makeBooking operation and a Pay operation, and then two travel agency websites which support these operations. Ideally, i'd like to have a partnerLink for each travel agency, so I can interact with both, yet not have to modify the wsdl to double up the portTypes and such (that is, making a travelAgency1PT and travelAgency2PT)

    Nevermind: with the help of http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html I managed to work out a method of doing it. Not as elegant as I could hope, but it works well enough.

  • How can I make easier case structure? Or can it possible to have one Pause and reset button in same structure.??

    hello,
    I am tring to convert my main test vi in case structure so latter on i can make some changes in that for example i want creat one pause button and reset button in that.
    I am not so much familer with case structure i want your guidence that how can i make my vi in globle case stucture in that i m having case 1 ,case 2...
    i already tried for that but then i got confused.
    here i am attaching my .llb file in that aa.vi is my main testing vi.
    will you plese guide me so i can make confort vi in case structure.
    Or can it possible to have one pause button and one reset button in same stucture,so User can pause or reset execution at any time when they want.
    Thank you very much in advance.
    Attachments:
    aa.llb ‏3338 KB

    Hello,
    I have change my entire structure ,now is it possible to have pause and reset button.
    here i have attached my changed vi.
    if still any changes required then please suggest me.
    Thank you.
    Attachments:
    aa.vi ‏75 KB
    aa1.llb ‏3333 KB

  • We currently have one AI subscription until August 2014 and one ID subscription until DEC 2014. I now wish to subscribe to Creative Cloud Complete and take up the $29.99/Month offer.  I understand that Creative Cloud Complete would supersede the single ap

    We currently have one AI subscription until August 2014 and one ID subscription until DEC 2014. i now wish to subscrive to Creative Cloud Complete and take up the $29.99 month offer. i understand that Creative Cloud Complete would supersede the single applications. How many simultaneous logins are possible?

    One Adobe ID supports two activation of CC irrespective of the type (single/complete/Team). If you buy the complete CC with the same Adobe ID, it will allow to activate it two times though you you will be assigned space of single app cc + the complete CC.
    You can buy the Complete CC with a different Adobe ID.
    Regards
    Rajshree

  • Is there a way to color one thing in a black and white photo.  Example:  I have a picture of a tulip field and I want to make it black and white - which I have already done - but I want to make one single tulip red.  Help?

    Is there a way to color one thing in a black and white photo.  Example:  I have a picture of a tulip field and I want to make it black and white - which I have already done - but I want to make one single tulip red.  Help?

    No, you'll need an external editor for the job:
    In order of price here are some suggestions:
    Seashore (free)
    The Gimp (free)
    Graphic Coverter ($45 approx)
    Acorn ($50 approx)
    Pixelmator ($50 approx)
    Photoshop Elements ($75 approx)
    There are many, many other options. Search on MacUpdate. You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.

  • HT204053 I have one apple id for my iPad and a second apple id for my iPhone and laptop. I just want to use one apple id. How do I delete the apple id on my iPad and make it consistent with the other two devices?

    I have one apple id on my iPad and a second apple id on my iPhone and laptop. I want to use one apple id for everything. I tried wiping my iPad and synching it with my laptop. The old apple id still remains on my iPad. I can't get rid of it. Help.

    On the iPad open Settings/iCloud and delete the account using the button at the bottom. Once deleted log in using the other account. For iTunes Stores use Settings/iTunes & Apps Stores, tapp on the Apple ID at the top then sign out. Once done sign in using the other account. Once you are happy with the changes plug your iPad into your computer to update the backup.

  • I have one apple ID for my MAC and another used for both my iPhone and IPad.  Purchases from iTunes don't appear on either my iPhone or iPad only only the MAC. How do I sync the two IDs?

    I have one Apple ID for my MAC and iTunes account and another that is used for both my iTunes and iPad.  When I purchased music from iTunes using the Mac ID, the music isn't available on my iTunes or iPad.  Neither lets me change my ID so how do I fix this issue so I can play the music on all three?

    Hello chlanli
    You would need to use one Apple ID for purchases in order to get them across all of your devices and computer. If you want you can use one Apple ID for purchases and the other one to sync personal data. The article below will explain further.
    Using your Apple ID for Apple services
    http://support.apple.com/kb/ht4895
    Regards,
    -Norm G.

  • Hello! I have one iTunes library on my iPod and one iTunes library on my computer. When I connect my iPod touch to my PC, however, I cannot find any files in my iPod except for pictures. How can I find the music files so I can add them to my iTunes?

    Hello! I have one iTunes library on my iPod and one iTunes library on my computer. When I connect my iPod touch to my PC, however, I cannot find any files in my iPod except for pictures. How can I find the music files so I can add them to my iTunes?

    You can't do that.
    And before you decide to store any music that you own on a computer at work, talk to your IT department. Many organizations do not permit it for legal reasons. Standard policies are that anything stored on company owned computers is the property of the company. It could not be legally stored on their machines unless you transfer the licenses and all copies, physical and digital, to the company, meaning you no longer own the music. If they were to be audited and could not prove that they own the music, they would be subject to copyright violation penalties. Just use your iPod when you're at the office if you want to listen to music.

  • What do I do if I have one Apple ID for my phone and a different one for my mac. I have tried to sync garageband to my mac from my phone but it won't connect. Is it because of the different ID's? If so what can I do to fix it?

    What do I do if I have one Apple ID for my phone and a different one for my mac. I have tried to sync garageband to my mac from my phone but it won't connect. Is it because of the different ID's? If so what can I do to fix it?

    You can use one account with iTunes on your Mac, and different account(s) with the Mac App Store (for buying/downloads apps or OS updates for your Mac), iCloud (System Preferences > iCloud) and Messages (Messages > Preferences, or command-comma)

  • HT204053 I have one icloud id on my mac and want to share with an ipad with a different icloud id.  if I create a new id for both of us will this work?  My concern is losing data on either device.

    I have one icloud id on my mac and want to share photos, calendars, etc with an ipad with a different icloud id.  if I create a new id for both of us will this work?  My concern is losing data on either device. (the mac book pro is new, but has all of the retrieved data from my previous mac book pro)

    You will lose data from whichever was the 2nd to last to sync .
    Don't do it.

  • In Adobe Flash CS6, I have a blue box appearing around lines drawn with the line tool (and other tools like brush etc). I can't figure out how to disable.

    In Adobe Flash CS6, I have a blue box appearing around lines drawn with the line tool (and other tools like brush etc). Whenever I try to use a tool,  a blue box appears around the line and I have to double click it to manipulate it, which opens just that line in a semi burred screen where all the other objects are semi-grey in the background. I can manipulate this line in this screen but nothing else at that time which I could do about 5 minutes ago. For exampe, I no longer can join up 2 lines drawn by the line tool together. For some reason this started randomly (probably due to a accidental shortcut combination) and I just can't put it back to what it used to be. I have inserted a video hopefully showing what I mean. Any help would be appreciated.

    Thank you - Just what I needed

  • How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

  • I had an app previously, but now it shows I do not. How can I retrieve this, since I've already paid for it? I have 2 photos- one showing it in my cloud- and two the app itself. Please help

    I had an app previously, but now it shows I do not. How can I retrieve this, since I've already paid for it? I have 2 photos- one showing it in my cloud- and two the app itself. Please help

    redownload it,, either by syncing with iTunes or directly from your phone using the app store.

Maybe you are looking for