Professional Web Applications Themes

Dynamic Drop Down and Updation of database - Coldfusion - Advanced Techniques

Hi everyone, My requirement is that I have an update CF page where the names of all the eomplyees is populated using a drop down box, which I have completed. But once the user selects a particular employee from the drop down than all the other fields in the form should be filled up with their particular detials aand the user can than update it. I am not able to understand as to how to populate the form fields once the user selects a value from the drop down. Any sort of help will be well appreciated thanks, kavin...

  1. #1

    Default Dynamic Drop Down and Updation of database

    Hi everyone,

    My requirement is that I have an update CF page where the names of all the
    eomplyees is populated using a drop down box, which I have completed. But once
    the user selects a particular employee from the drop down than all the other
    fields in the form should be filled up with their particular detials aand the
    user can than update it.

    I am not able to understand as to how to populate the form fields once the
    user selects a value from the drop down.

    Any sort of help will be well appreciated

    thanks,
    kavin

    Student-Kav Guest

  2. #2

    Default Re: Dynamic Drop Down and Updation of database

    you could us a frame and have the drop down like on the top and when something
    is selected refresh the page below it with the info. I have been using the
    cfform flash and you could do this on one page with no refresh; but you need
    CF7 to do that.

    GeorgeWS Guest

  3. #3

    Default Re: Dynamic Drop Down and Updation of database

    Or you can use 2 forms on 2 pages. Form 1 on page 1 has the drop down list,
    Form 2 on page 2 has the details for the selected employees.

    If the number of employees is small, say less than a couple hundred, you could
    select everything and use javascript/actionscript to populate the other form
    fields.

    Dan Guest

Similar Threads

  1. dynamic drop downlists in an editable dynamic datagrid.
    By mkhans@gmail.com in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: June 22nd, 09:01 PM
  2. 2 dynamic drop down boxes from database
    By alexz in forum ASP Database
    Replies: 1
    Last Post: March 2nd, 06:08 AM
  3. Database updation
    By Uma Shankari T. in forum PHP Development
    Replies: 1
    Last Post: September 6th, 04:52 AM
  4. file updation
    By Jenda Krynicky in forum PERL Beginners
    Replies: 0
    Last Post: August 25th, 11:01 AM
  5. registration details updation
    By Srinivasa Reddy K Ganji in forum ASP.NET General
    Replies: 1
    Last Post: July 25th, 10:49 AM

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