Re: Combo Box in CF
Varun, Yes, I would like to see what you came up with. If you want to e-mail the code to m e directly, you can send it to [EMAIL PROTECTED] Thanks. --Brian Thanks for your reply. I came up with a combobox too yesterday, and its using javascript which as you said is indeed very reponsive. The was I have it set up is a text box seating on top of Select inside a DIV. Than, i got few javascript functions googling, and kinna of created a hybrid which does what I have been looking for. Its close to what you have on your page, I can send you the functions or put them here. Let me know, how would you like to have it. If you do at all. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265609 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Combo Box in CF
I set up a new project on RIA Forge. The project link is: http://cf_combobox.riaforge.org/ I'll be updating it daily as I have time. -Original Message- From: Brian Swartzfager [mailto:[EMAIL PROTECTED] Sent: Thursday, January 04, 2007 6:48 AM To: CF-Talk Subject: Re: Combo Box in CF Varun, Yes, I would like to see what you came up with. If you want to e-mail the code to m e directly, you can send it to [EMAIL PROTECTED] Thanks. --Brian Thanks for your reply. I came up with a combobox too yesterday, and its using javascript which as you said is indeed very reponsive. The was I have it set up is a text box seating on top of Select inside a DIV. Than, i got few javascript functions googling, and kinna of created a hybrid which does what I have been looking for. Its close to what you have on your page, I can send you the functions or put them here. Let me know, how would you like to have it. If you do at all. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265624 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Combo Box in CF
Varun, I came up with something that simulates a combo box, but I don't think it quite meets what you're looking for. It gives the user a text box control and a select control. At first, the select control contains all of the options in the list, but as the user types text in the text box, the options in the select box that don't match what's being typed are essentially removed, leaving only similar entries. If the user clicks on an option in the select box, the value of that option is copied to the text box. I've posted a page with this control up on my website at http://www.swartzfager.org/combo_box_demo.cfm. You can see all of the code involved by viewing the page source. It's JavaScript-powered but does not use Ajax, so it's very responsive. Like I said, I don't think it's quite what you're looking for, but maybe the techniques/functions involved will be of some help. --Brian ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265519 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Combo Box in CF
Brian, Thanks for your reply. I came up with a combobox too yesterday, and its using javascript which as you said is indeed very reponsive. The was I have it set up is a text box seating on top of Select inside a DIV. Than, i got few javascript functions googling, and kinna of created a hybrid which does what I have been looking for. Its close to what you have on your page, I can send you the functions or put them here. Let me know, how would you like to have it. If you do at all. Thanks, Varun Varun, I came up with something that simulates a combo box, but I don't think it quite meets what you're looking for. It gives the user a text box control and a select control. At first, the select control contains all of the options in the list, but as the user types text in the text box, the options in the select box that don't match what's being typed are essentially removed, leaving only similar entries. If the user clicks on an option in the select box, the value of that option is copied to the text box. I've posted a page with this control up on my website at http://www. swartzfager.org/combo_box_demo.cfm. You can see all of the code involved by viewing the page source. It's JavaScript-powered but does not use Ajax, so it's very responsive. Like I said, I don't think it's quite what you're looking for, but maybe the techniques/functions involved will be of some help. --Brian ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265539 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Combo Box in CF
You mean like this? http://webfx.eae.net/dhtml/combobox/combobox.htm Russ -Original Message- From: Varun Dixit [mailto:[EMAIL PROTECTED] Sent: 03 January 2007 16:12 To: CF-Talk Subject: Re: Combo Box in CF Brian, Thanks for your reply. I came up with a combobox too yesterday, and its using javascript which as you said is indeed very reponsive. The was I have it set up is a text box seating on top of Select inside a DIV. Than, i got few javascript functions googling, and kinna of created a hybrid which does what I have been looking for. Its close to what you have on your page, I can send you the functions or put them here. Let me know, how would you like to have it. If you do at all. Thanks, Varun Varun, I came up with something that simulates a combo box, but I don't think it quite meets what you're looking for. It gives the user a text box control and a select control. At first, the select control contains all of the options in the list, but as the user types text in the text box, the options in the select box that don't match what's being typed are essentially removed, leaving only similar entries. If the user clicks on an option in the select box, the value of that option is copied to the text box. I've posted a page with this control up on my website at http://www. swartzfager.org/combo_box_demo.cfm. You can see all of the code involved by viewing the page source. It's JavaScript-powered but does not use Ajax, so it's very responsive. Like I said, I don't think it's quite what you're looking for, but maybe the techniques/functions involved will be of some help. --Brian ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265544 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Combo Box in CF
Russ, I had looked at this one too. But the only thing it lacked was Key Board Control thats why I dit not move ahead with it. And By key board control I mean, you could not select values using tab and not scroll using Down and Up Arrow keyes.Yeah but its pretty cool! You mean like this? http://webfx.eae.net/dhtml/combobox/combobox.htm Russ -Original Message- From: Varun Dixit [mailto:[EMAIL PROTECTED] Sent: 03 January 2007 16:12 To: CF-Talk Subject: Re: Combo Box in CF Brian, Thanks for your reply. I came up with a combobox too yesterday, and its using javascript which as you said is indeed very reponsive. The was I have it set up is a text box seating on top of Select inside a DIV. Than, i got few javascript functions googling, and kinna of created a hybrid which does what I have been looking for. Its close to what you have on your page, I can send you the functions or put them here. Let me know, how would you like to have it. If you do at all. Thanks, Varun --Brian ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265547 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Combo Box in CF
Yeah, so, I'm gonna start a cf_combobox project over at RIA Forge. I'll upload some of the stuff I have and if anyone else wants they can sign up and we can do something with this. Varun, seems you and I have pretty much the same requirements. -Original Message- From: Varun Dixit [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 03, 2007 12:33 PM To: CF-Talk Subject: Re: Combo Box in CF Russ, I had looked at this one too. But the only thing it lacked was Key Board Control thats why I dit not move ahead with it. And By key board control I mean, you could not select values using tab and not scroll using Down and Up Arrow keyes.Yeah but its pretty cool! You mean like this? http://webfx.eae.net/dhtml/combobox/combobox.htm Russ -Original Message- From: Varun Dixit [mailto:[EMAIL PROTECTED] Sent: 03 January 2007 16:12 To: CF-Talk Subject: Re: Combo Box in CF Brian, Thanks for your reply. I came up with a combobox too yesterday, and its using javascript which as you said is indeed very reponsive. The was I have it set up is a text box seating on top of Select inside a DIV. Than, i got few javascript functions googling, and kinna of created a hybrid which does what I have been looking for. Its close to what you have on your page, I can send you the functions or put them here. Let me know, how would you like to have it. If you do at all. Thanks, Varun --Brian ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265550 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Combo Box in CF
Loathe, Yeah I would sign up. It would be cool too get this right and have a COMBOBOX. I would be needing it often going forward, so would go a long way in helping me and others. Thanks. Varun Yeah, so, I'm gonna start a cf_combobox project over at RIA Forge. I'll upload some of the stuff I have and if anyone else wants they can sign up and we can do something with this. Varun, seems you and I have pretty much the same requirements. -Original Message- From: Varun Dixit [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 03, 2007 12:33 PM To: CF-Talk Subject: Re: Combo Box in CF Russ, I had looked at this one too. But the only thing it lacked was Key Board Control thats why I dit not move ahead with it. And By key board control I mean, you could not select values using tab and not scroll using Down and Up Arrow keyes.Yeah but its pretty cool! can send you the functions or put them here. Let me know, how would you like to have it. If you do at all. Thanks, Varun --Brian ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265552 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Combo Box in CF
Wouldn't really be a CF thing (unless you do an AJAX implementation, in which case it'd just be CF on the server returning the appropriate options). Also, it's been done using JS and/or AJAX. If you want to do one as a learning experiment, that's cool. But if you're just looking to have one that works, googling would be quicker than building one from scratch :) On 1/2/07, Varun Dixit [EMAIL PROTECTED] wrote: I am working on making a true combox, which essentially would be a combination of Text box and Select. I would appreciate any pointes that would help me create one. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265478 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Combo Box in CF
Charlie, Yeah, I am trying to incorp one in my projects, googling i did but have not found like a true combobox. Ajax:I made on using Scriptaculous autocompleter. But I have a query which returns about 650 results to be populated into the Select Box, now as an autocompleter it works fine, but as soon as you click on Show All button (like u click on select box) it just slows up big time. Javascript: I have seen some examples but they dont still act like a true combobox. Any links or pointers would be greatly appreciated. Thanks Wouldn't really be a CF thing (unless you do an AJAX implementation, in which case it'd just be CF on the server returning the appropriate options). Also, it's been done using JS and/or AJAX. If you want to do one as a learning experiment, that's cool. But if you're just looking to have one that works, googling would be quicker than building one from scratch :) On 1/2/07, Varun Dixit [EMAIL PROTECTED] wrote: I am working on making a true combox, which essentially would be a combination of Text box and Select. I would appreciate any pointes that would help me create one. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265479 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Combo Box in CF
Hi Varun: Well, the examples you found may not behave like a true combobox simply because that exact control doesn't exist in HTML. Especially if you're going to be loading 650 options :) I don't know that any of the links I could provide would be any different than anything you saw. Most were simply attempts to get as close to a true combobox as possible. Not sure about Flash or Flex...if they do have true comboboxes, and that's what you really need, that might be an option to at least consider. On 1/2/07, Varun Dixit [EMAIL PROTECTED] wrote: Charlie, Yeah, I am trying to incorp one in my projects, googling i did but have not found like a true combobox. Ajax:I made on using Scriptaculous autocompleter. But I have a query which returns about 650 results to be populated into the Select Box, now as an autocompleter it works fine, but as soon as you click on Show All button (like u click on select box) it just slows up big time. Javascript: I have seen some examples but they dont still act like a true combobox. Any links or pointers would be greatly appreciated. Thanks Wouldn't really be a CF thing (unless you do an AJAX implementation, in which case it'd just be CF on the server returning the appropriate options). Also, it's been done using JS and/or AJAX. If you want to do one as a learning experiment, that's cool. But if you're just looking to have one that works, googling would be quicker than building one from scratch :) On 1/2/07, Varun Dixit [EMAIL PROTECTED] wrote: I am working on making a true combox, which essentially would be a combination of Text box and Select. I would appreciate any pointes that would help me create one. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265482 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Combo Box in CF
Varun, Can you be more specific by what you mean by a true combobox? Do you mean you want a combo box control like the ones in MS Access, where the user can either: --select a value from the provided drop-down list. --type something that is in the list and have it try to autocomplete it. --type something that is NOT in the list and submit that value. Can't say that I've seen anything like that on a web form, but it would be nice if such a thing existed or could be done. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265484 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Combo Box in CF
They are out there, but are hard to integrate with Ajax, or to do related selects with. I'm working on a custom tag for this reason right now. Once I get something solid I'll put it out. -Original Message- From: Brian Swartzfager [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 02, 2007 12:48 PM To: CF-Talk Subject: Re: Combo Box in CF Varun, Can you be more specific by what you mean by a true combobox? Do you mean you want a combo box control like the ones in MS Access, where the user can either: --select a value from the provided drop-down list. --type something that is in the list and have it try to autocomplete it. --type something that is NOT in the list and submit that value. Can't say that I've seen anything like that on a web form, but it would be nice if such a thing existed or could be done. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265486 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Combo Box in CF
Brian, Apologies for not being clear. Here is what I would like it to do, --select a value from the provided drop-down list --type something that is in the list and have it try to autocomplete it. Thanks,Varun Varun, Can you be more specific by what you mean by a true combobox? Do you mean you want a combo box control like the ones in MS Access, where the user can either: --select a value from the provided drop-down list. --type something that is in the list and have it try to autocomplete it. --type something that is NOT in the list and submit that value. Can't say that I've seen anything like that on a web form, but it would be nice if such a thing existed or could be done. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265489 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Combo Box in CF
Varun: well, looks like the most options came back with a google search for DHTML Combobox (as opposed to HTML combobox, AJAX combobox, etc). this one looks promising: http://webfx.eae.net/dhtml/combobox/combobox.htm ? On 1/2/07, Varun Dixit [EMAIL PROTECTED] wrote: Brian, Apologies for not being clear. Here is what I would like it to do, --select a value from the provided drop-down list --type something that is in the list and have it try to autocomplete it. Thanks,Varun Varun, Can you be more specific by what you mean by a true combobox? Do you mean you want a combo box control like the ones in MS Access, where the user can either: --select a value from the provided drop-down list. --type something that is in the list and have it try to autocomplete it. --type something that is NOT in the list and submit that value. Can't say that I've seen anything like that on a web form, but it would be nice if such a thing existed or could be done. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265493 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Combo Box in CF
Apologies for not being clear. No apology necessary--just wanted to make sure I knew exactly what you're looking for. Like I said, I don't know of anything out there that'll do that, but now I'm curious as to whether it can be done...I may give it a try myself. If I do come up with something, I'll post it back to this thread. --Brian ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265494 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: combo box
Sure, do you already have the combo box working in one direction? If so, just apply the same logic to the second dropdown, the only difference would be that you would be searching for a software title, instead of searching for the company. -- jon mailto:[EMAIL PROTECTED] Monday, November 25, 2002, 5:18:14 PM, you wrote: JB is there any way to do a reverse combo box? so say i have two fields, one is applications the other is companies. JB say i choose the application: outlook 2000, then the company would automatically change to microsoft. JB but lets say i knew the company was microsoft. how could i get the top box to change to every app that is associated with microsoft? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: Combo box
There's an unencryted (modifiable) tag available on the Allaire Site (called ComboBox.cfm) that does precisely what you want to do -- using Javascript to divide the functionality between the two form elements and allowing each to influence and know (somewhat) what the other is doing. If you want to see how this tag operates I make use of it on my CoGasPrices.com site in the modify section allowing users to modify a record by selecting an existing field value OR to enter new data that will then be available for selection the next time. You can check it out at -- http://www.cogasprices.com/in_mod.cfm?stationID=407 Just in case anyone else has energy to put into this -- I do intend to modify this tag to address a couple of shortcomings (the author concedes it was done in haste) such as returning a previous initial "value" to the "other" tag when it regains focus and a couple of other things I need for it do that it presently doesn't. Should anyone else improve on this tag please do let me know so I don't reinvent the wheel -- and if there is any interest I'll be glad to advise of what modifications I make to it. If someone has already done a better job delivering this functionality (with a tag or straight code) that this tag does -- I would also sure like to hear about that. Thanks, Dru At 20:52 8/14/2000 -0700, you wrote: ASP Today has a good article, "Using JavaScript to Create Combo Boxes," to do as Philip suggests. See http://www.asptoday.com/articles/2808.htm -David On Wed, 9 Aug 2000 11:14:33 +0100 "Philip Arnold - ASP" [EMAIL PROTECTED] writes: Does anyone have some nifty code that lets me have a combo box, ie. an input type=text field combined with a collection of hardcoded choices in an input type=select? Do I just have text input field with the same name as the select box? How does this work? You're running into a HTML limit here What I do is put an "Other" option at the bottom of the Select, and have a text box for entering the Other option into YOU'RE PAYING TOO MUCH FOR THE INTERNET! Juno now offers FREE Internet Access! Try it today - there's no risk! For your FREE software, visit: http://dl.www.juno.com/get/tagj. --- --- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Combo box
ASP Today has a good article, "Using JavaScript to Create Combo Boxes," to do as Philip suggests. See http://www.asptoday.com/articles/2808.htm -David On Wed, 9 Aug 2000 11:14:33 +0100 "Philip Arnold - ASP" [EMAIL PROTECTED] writes: Does anyone have some nifty code that lets me have a combo box, ie. an input type=text field combined with a collection of hardcoded choices in an input type=select? Do I just have text input field with the same name as the select box? How does this work? You're running into a HTML limit here What I do is put an "Other" option at the bottom of the Select, and have a text box for entering the Other option into YOU'RE PAYING TOO MUCH FOR THE INTERNET! Juno now offers FREE Internet Access! Try it today - there's no risk! For your FREE software, visit: http://dl.www.juno.com/get/tagj. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Combo box
Does anyone have some nifty code that lets me have a combo box, ie. an input type=text field combined with a collection of hardcoded choices in an input type=select? Do I just have text input field with the same name as the select box? How does this work? You're running into a HTML limit here What I do is put an "Other" option at the bottom of the Select, and have a text box for entering the Other option into Philip Arnold ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Combo box
This is a multi-part message in MIME format. --=_NextPart_000_001E_01C0005A.104ECBF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit A standard HTML select should do, no? Select multiple="no" name="whatever" size="1" OPTION value="choice1" OPTION value="choice2" OPTION value="choice3" OPTION value="choice4" OPTION value="choice5" /Select John McKown, VP of Business Services Delaware.Net, Inc. 30 Old Rudnick Lane, Suite 200 - Dover, DE 19901 Dover: 302.736.5515, Toll Free: 888.432.7965, Fax: 302.736.5945 E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] , Web Site: http://www.Delaware.Net Delaware.Net is now an official domain name registrar! Register your domain names with us for only $20 per year! Simply visit my company's web site at http://Register.Delaware.Net to get started. Or change your existing hosting to Delaware.net and save yourself money. -Original Message- From: Mike Deane [mailto:[EMAIL PROTECTED]] Sent: Monday, August 07, 2000 9:47 AM To: '[EMAIL PROTECTED]' Subject: Combo box Importance: High Hello everyone!!! Does anyone have some nifty code that lets me have a combo box, ie. an input type=text field combined with a collection of hardcoded choices in an input type=select? Do I just have text input field with the same name as the select box? How does this work? Thank you. /mdeane -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. --=_NextPart_000_001E_01C0005A.104ECBF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTMLHEADTITLE/TITLE META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR/HEAD BODY PFONT face=3DVerdana size=3D2A standard HTML select should do, = no?/FONT/P BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px" PFONT face=3DVerdana size=3D2STRONGlt;Select multiple=3D"no" = name=3D"whatever"=20 size=3D"1"gt;BRlt;OPTION value=3D"choice1"gt;BRlt;OPTION=20 value=3D"choice2"gt;BRlt;OPTION = value=3D"choice3"gt;BRlt;OPTION=20 value=3D"choice4"gt;BRlt;OPTION=20 = value=3D"choice5"gt;BRlt;/Selectgt;/STRONG/FONT/P/BLOCKQUOTE= PFONT size=3D2FONT face=3DVerdanaJohn McKown, VP of Business=20 ServicesBRDelaware.Net, Inc.BR30 Old Rudnick Lane, Suite 200 - = Dover, DE=20 19901BRDover: 302.736.5515, Toll Free: 888.432.7965, Fax:=20 302.736.5945BRE-mail: [EMAIL PROTECTED] lt;/FONTA=20 href=3D"mailto:[EMAIL PROTECTED]"FONT=20 face=3DVerdanamailto:[EMAIL PROTECTED]/FONT/AFONT = face=3DVerdanagt; , Web=20 Site: /FONTA href=3D"http://www.Delaware.Net" target=3D_blankFONT=20 face=3DVerdanahttp://www.Delaware.Net/FONT/ABRBRFONT=20 face=3DVerdana=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3DBRDelaware.Net=20 is now an official domain name registrar!BRRegister your domain names = with us=20 for only $20 per year!BRSimply visit my company's web site at = /FONTA=20 href=3D"http://Register.Delaware.Net" target=3D_blankFONT=20 face=3DVerdanahttp://Register.Delaware.Net/FONT/AFONT = face=3DVerdana to get=20 started.BROr change your existing hosting to Delaware.net and save = yourself=20 money.BR=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3DBRBRBRBRBRBRgt;=20 -Original Message-BRgt; From: Mike Deane [/FONTA=20 href=3D"mailto:[EMAIL PROTECTED]"FONT=20 face=3DVerdanamailto:[EMAIL PROTECTED]/FONT/AFONT=20 face=3DVerdana]BRgt; Sent: Monday, August 07, 2000 9:47 AMBRgt; = To:=20 '[EMAIL PROTECTED]'BRgt; Subject: Combo boxBRgt; = Importance:=20 HighBRgt;BRgt;BRgt; Hello everyone!!!BRgt;BRgt; Does = anyone have=20 some nifty code that lets me have a combo box, ie. anBRgt; input = type=3Dtext=20 field combined with a collection of hardcoded choices inBRgt; an = input=20 type=3Dselect?BRgt;BRgt; Do I just have text input field with the = same name=20 as the select box?BRgt; How does this work?BRgt;BRgt; Thank=20 you.BRgt; /mdeaneBRgt;=20 --BRgt= ;=20 BRgt; Archives: /FONTA=20 href=3D"http://www.mail-archive.com/cf-talk@houseoffusion.com/"=20 target=3D_blankFONT=20 face=3DVerdanahttp://www.mail-archive.com/cf-talk@houseoffusion.com//FO= NT/ABRFONT=20 face=3DVerdanagt; To Unsubscribe visitBRgt; /FONTA=20
RE: Combo box
My bad. I just realized that the code I responded with was not complete. Here you go: A standard HTML select should do, no? Select multiple="no" name="whatever" size="1" OPTION value="choice1"choice1/option OPTION value="choice2"choice2/option OPTION value="choice3"choice3/option OPTION value="choice4"choice4/option OPTION value="choice5"choice5/option /Select John McKown, VP of Business Services Delaware.Net, Inc. 30 Old Rudnick Lane, Suite 200 - Dover, DE 19901 Dover: 302.736.5515, Toll Free: 888.432.7965, Fax: 302.736.5945 E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] , Web Site: http://www.Delaware.Net Delaware.Net is now an official domain name registrar! Register your domain names with us for only $20 per year! Simply visit my company's web site at http://Register.Delaware.Net to get started. Or change your existing hosting to Delaware.net and save yourself money. -Original Message- From: Mike Deane [mailto:[EMAIL PROTECTED]] Sent: Monday, August 07, 2000 9:47 AM To: '[EMAIL PROTECTED]' Subject: Combo box Importance: High Hello everyone!!! Does anyone have some nifty code that lets me have a combo box, ie. an input type=text field combined with a collection of hardcoded choices in an input type=select? Do I just have text input field with the same name as the select box? How does this work? Thank you. /mdeane -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: combo box problem
cfset option = arraynew(1) CFLOOP From="1" To="#ListLen(temp)#" INDEX="i" cfset option[i] = #ListGetAt(temp, i)# /CFLOOP Just one question here - why aren't you using ListToArray? It's a LOT faster! tdselect name ="sselect" CFLOOP INDEX="j" LIST="John,Paul,George,Ringo" option value = #j# cfoutput#j#/cfoutput/option /select/td/tr /CFLOOP /td /tr /table You're closing the Select, Cell and Row within the loop, when they're opened outside the loop; tdselect name ="sselect" CFLOOP INDEX="j" LIST="John,Paul,George,Ringo" option value = #j# cfoutput#j#/cfoutput/option /CFLOOP /select/td/tr Philip Arnold ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.