Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-09-2007, 05:37 PM   PM User | #1
Gary Williams
Regular Coder

 
Join Date: Sep 2002
Location: South East UK. 35 miles east of London, in sight of the River Thames.
Posts: 288
Thanks: 7
Thanked 0 Times in 0 Posts
Gary Williams is an unknown quantity at this point
Auto building combo lists

In an asp application, I have a number of combo lists that are created 'on the fly' by reading a database. If I need another entry for any list, I have to add the new entry to the database first, so it is available for the script that creates to combo list.

What I want to achieve is this. If a user looks at a combo list and finds the entry required is not there, he or she can then simply type in the entry required and this is added to the list in the database, ready for the next user. That way the lists will evolve as the users require the new entries.

Any ideas?

Regards

Gary
Gary Williams is offline   Reply With Quote
Old 11-09-2007, 05:54 PM   PM User | #2
shyam
Senior Coder

 
shyam's Avatar
 
Join Date: Jul 2005
Posts: 1,563
Thanks: 2
Thanked 163 Times in 160 Posts
shyam will become famous soon enough
if you mean the combo-boxes available in VB where u can type text in a combo-box...its not possible as HTML only supports select-lists where values can only be selected. you can however add a textbox nearby for the user to add new values that have to become part of an existing select-list
__________________
You never have to change anything you got up in the middle of the night to write. -- Saul Bellow
shyam is offline   Reply With Quote
Old 11-12-2007, 10:42 AM   PM User | #3
Gary Williams
Regular Coder

 
Join Date: Sep 2002
Location: South East UK. 35 miles east of London, in sight of the River Thames.
Posts: 288
Thanks: 7
Thanked 0 Times in 0 Posts
Gary Williams is an unknown quantity at this point
Hi Shyam,

Yes, that's exactly what I meant. I forgot to test if I could overwrite an html select. You can't!! OK, text box it is.

Thanks for your help, illuminated one.

Gary
Gary Williams is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:45 AM.


Advertisement
Log in to turn off these ads.