Results 1 to 3 of 3

Thread: Drop-down lists in a web form

  1. #1
    Join Date
    Jul 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Drop-down lists in a web form

    Morning,

    I am new member and I have a question and hope someone can help me. I have recently taken over updating my department's intranet website. There is a web form that I am updating..and what I would like to do is create multiple drop-down boxes. Basically a person would select something from the first drop-down down and then based on what they select the next drop-down would populate with their options. I have done a little research online and it looks to be something with javascript that can do this. The lists for the drop-down boxes would be long so I"m wondering if I can important the information from an access or excel database (have columns that define what each drop down will have) and link from there. Based on my little research it looks as if there are a few ways I can do this.

    I hope I have explained my problem clearly. Any help would be appreciated.

    Thank you.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Chained Selects sounds like what you are looking for. As for getting these options from a data base, the length of the list of options is unimportant. If you can just find a way to export your list of options in this format:

    <option>Name of option here</option>

    it will save you some typing. That is assuming you already have said options in a database. Otherwise, "just type 'em out" is as easy as putting them in the database to begin with.
    Last edited by jscheuer1; 07-29-2005 at 03:14 PM. Reason: spelling
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,

    John - Thank you very much for your help!

Bookmarks

Posting Permissions

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