473,396 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Combine Select & Text box?

139 100+
Hi,

Not sure if this is doable in CF, but is it possible to combine a text and select box - ie so the user can type in text if it's not in the drop down, then add that value back into the list?

Thanks
Neil
Jun 16 '11 #1

✓ answered by acoder

The newer versions of Coldfusion have some built-in widgets. If you're using an older version, you will need to use JavaScript (which is what those widgets use anyway).

Some frameworks will have combo boxes. You may also find stand-alone solutions that don't require a framework.

If you don't require the interactivity of a full-blown combo-box, you could use Coldfusion only by having a select and a text box next to it. The select would have an option "Other" which the user would select and fill in the text box.

2 2738
acoder
16,027 Expert Mod 8TB
The newer versions of Coldfusion have some built-in widgets. If you're using an older version, you will need to use JavaScript (which is what those widgets use anyway).

Some frameworks will have combo boxes. You may also find stand-alone solutions that don't require a framework.

If you don't require the interactivity of a full-blown combo-box, you could use Coldfusion only by having a select and a text box next to it. The select would have an option "Other" which the user would select and fill in the text box.
Jun 20 '11 #2
ndeeley
139 100+
Thanks acoder, sounds like the 'other' option is a good one, so I`ll use that.
Jun 22 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Dave | last post by:
I want to select all text in a multi line text box from a command butten. Thank for help Dave
4
by: melvynadam | last post by:
If I open a new page with very little text on it such as a bugmenot results page is there a way to select some of the text there and assign it to variables? Selecting all and copying to the...
0
by: Jacky11 | last post by:
When adding anything in a query next to a field with Data type = Memo, like this Combined: ! & ! Or Combined: ! & "instock" The query will not display more than 256 characters. (The field is...
1
by: BGS | last post by:
Is there some setting that will allow users to select the text displayed in a Label on a Windows Form? I would just like to be able to highlight the text so that I could use Ctrl-Ins to capture...
0
by: MumboJumbo | last post by:
RichTextBox ... how do i select only text in view? I.e. just what i can see ? Thanks and cheers, Jim
1
by: guy | last post by:
Is it possible to select all text in a asp text box when it gets focus? How?
1
by: KwonNam Son | last post by:
Is this possible to align select box's option text? I tried <select style="text-align: center;"> and <option style="text-align: center;>text</option>, it didn't work properly. Any idea, please?...
3
by: cj | last post by:
When I select textbox1 I want all text in it to be selected. I used the textbox1_enter event to run textbox1.selectall() This works if I tab to the box but not if it is selected by clicking on...
3
by: madhuri.eerupula | last post by:
Hi. How to select some text in a form and show it somewhere in notepad, wordpad. How to use mouseup and mousedown EVENTS in order to select some text in a form using c#.Sample code will be useful. ...
3
by: ASP Developer | last post by:
I have a variety of pages that use a master page. For some reason when I attempt to copy any of the label text on the screen it seems to highlight most of the screen randomly and I can't simply...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.