Ask a Question related to Macromedia ColdFusion, Design and Development.
-
Shane930 #1
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
-
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... -
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... -
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... -
Search Engine Drop down options
"gozilla" <godzilla@godzilla.com> wrote in message news:vjk8p6g7p4flce@corp.supernews.com... to Google See here: ... -
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... -
dempster #2
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
-
Shane930 #3
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



Reply With Quote

