Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Sep 2002
    Location
    South East UK. 35 miles east of London, in sight of the River Thames.
    Posts
    297
    Thanks
    10
    Thanked 0 Times in 0 Posts

    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

  • #2
    Senior Coder shyam's Avatar
    Join Date
    Jul 2005
    Posts
    1,563
    Thanks
    2
    Thanked 163 Times in 160 Posts
    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

  • #3
    Regular Coder
    Join Date
    Sep 2002
    Location
    South East UK. 35 miles east of London, in sight of the River Thames.
    Posts
    297
    Thanks
    10
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •