Change option in second drop down box based on selectionof first drop down box

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Change option in second drop down box based on selectionof first drop down box

    Change option in second drop down box based on selection of first drop down box.

    Hi,

    I am trying to figure out how to make a selection in 1 dropbox that will
    automatically fill in a second.
    And then click submit button to put it in the database.

    i have been told i can use javascript and hidden value...anyone know how to do
    that? How do i put that value in the hidden value when it is different with
    every selection?

    thanks.

    steve

    oppels Guest

  2. Similar Questions and Discussions

    1. How to Set Drop-Down Value Based on Previous Selection
      Looking for an answer to this question: Got an order form where I'm letting folks provide their billing address. The form includes the usual...
    2. Initial option appearing in drop down menu
      I am working on an application. If I click on a button I am transfered to a new page that displays a drop down message. When I navigate to this...
    3. illustrator CS drop shadow - blur not appearing as option
      Hi, when I try to use filter or effect drop shadow on objects or any thing in illustrator CS, the blur option is grayed out and not usuable. Even if...
    4. Form data - drop down values/display option
      I have a drop down box where the choices are populated from a database query, this part works fine: <option value><% = strEmail %></option> I...
    5. dynamically populate drop down menu option value problem
      hi I was wondering if anyone can help me out on this.... I have dynamcally populated a drop down menu with data from an access database using...
  3. #2

    Default Re: Change option in second drop down box based on selection of first drop down box

    This ought to do it for you:

    [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?event=view&id=KC.tn_19117&extid=tn_19117 &dialogID=40306316&iterationID=1&sessionID=9630672 2a1f65d0596b2&stateID=1[/url] 0
    40288779&mode=simple

    Best regards,
    Chris


    Chris In Madison Guest

  4. #3

    Default Re: Change option in second drop down box based onselection of first drop down box

    Hi,

    Thanks for the reply. I will study the information when I get home tonight.
    This info is for ASP. Is that required? I have dreamweaver mx 7.01, coldfusion
    mx developer server, microsoft access database....
    I design for myself and am self taught. this template will help me track
    clients that I see.

    thanks again,

    steve

    oppels Guest

  5. #4

    Default Re: Change option in second drop down box based on selection of first drop down box

    This particular article was written around ASP, but I'm sure it could be
    adapted to whatever technology you'd like. You could even write this as
    static code if you wanted to instead of pulling items from a database as the
    article describes.

    Once you get the concept of what the article describes, it's pretty easily
    adaptable. But the hard part is getting your head around how the thing
    works as a whole.

    Best regards,
    Chris


    Chris In Madison Guest

  6. #5

    Default Re: Change option in second drop down box based onselection of first drop down box

    Thanks for your help.

    Steve
    oppels Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139