Professional Web Applications Themes

Change option in second drop down box based on selectionof first drop down box - Dreamweaver AppDev

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...

  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. #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

  3. #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

  4. #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

  5. #5

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

    Thanks for your help.

    Steve
    oppels Guest

Similar Threads

  1. How to Set Drop-Down Value Based on Previous Selection
    By Chris Keane in forum Macromedia ColdFusion
    Replies: 0
    Last Post: March 9th, 06:38 PM
  2. Initial option appearing in drop down menu
    By toby007 in forum Coldfusion - Getting Started
    Replies: 1
    Last Post: March 1st, 06:50 AM
  3. illustrator CS drop shadow - blur not appearing as option
    By Timothy_Hill@adobeforums.com in forum Adobe Illustrator Windows
    Replies: 7
    Last Post: May 21st, 04:52 PM
  4. Form data - drop down values/display option
    By Tom Petersen in forum ASP
    Replies: 2
    Last Post: September 8th, 06:59 PM
  5. Replies: 2
    Last Post: July 26th, 10:07 PM

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
  •  

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