Search options with text fields

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default Search options with text fields

    Hi all, I am working on a search page and so far things have gone well. The
    question is this. I have a search form with two text fields. The first one is
    for the names of a manufacturer which is a menu. When the user selects the
    manufacturer, I need the second text field to dynamicly generate the items this
    manufacturer makes to show up in a menu in the second text field. Then when
    the user selects the item or items they can hit submit and get the items on a
    master detail page.

    I have searched high and low for example of this on the web and have found
    nothing that helps.

    Thanks in advance

    Shane

    Shane930 Guest

  2. Similar Questions and Discussions

    1. Search database fields using single text field
      Kindly advise on how to develop a database search page such that there is single text field to enter serach string and the results are shown on the...
    2. Search form options
      hello - I'm using PHP to work with a MySQL database. I've set up a search/results/detail set using MX2004. What I'd like to do, is on the search...
    3. Search options
      Hi folks, What would be the best way(or options) to go about making a search function for multiple documents? I have about 40 docs with about...
    4. Search Engine Drop down options
      "gozilla" <godzilla@godzilla.com> wrote in message news:vjk8p6g7p4flce@corp.supernews.com... to Google See here: ...
    5. Keyword search on 5 fields
      Hello group, I want to use one a keyword which will then automatically search 5 fields for the keyword and display any records with the keyword...
  3. #2

    Default Re: Search options with text fields

    You say you have text fields, but from your description it sounds like these
    are select boxes that will list items that the user can select. If you want to
    have one select box dynamically generate the contents of a second select box,
    you will need to do this with JavaScript. You can use ColdFusion to generate
    the JavaScript arrays that you would need for this. Be aware that this can get
    complex and lengthy. If you had 10 manufacturers with 25 items each, you'll
    have 250 array elements for the dynamic select boxes.

    It might be easier to simply select a manufacturer from one page, then go to a
    second page that lists items for that manufacturer. You should also avoid
    select boxes that are very long, since these are difficult to use. In some
    cases, a text display with checkboxes would be more usable.

    -Paul

    dempster Guest

  4. #3

    Default Re: Search options with text fields

    Thanks Paul, I was hoping to use a table in mySQL to make the select boxes dynamic so maybe Arrays are the only way to do this in CF.

    Shane
    Shane930 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139