...

View Full Version : Auto building combo lists



Gary Williams
11-09-2007, 05:37 PM
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

shyam
11-09-2007, 05:54 PM
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

Gary Williams
11-12-2007, 10:42 AM
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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum