Form Fields Update Each Other

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Form Fields Update Each Other

    Using DWMX and CFMX 7 to build a drill-down application:

    I've checked the forums and other sites and need some guidance as to how I can
    make my form such that when a value from the first (drop-down) field is
    selected, the next form field changes to reflect the choice made in the first
    one, and then again to a third drop-down field. The queries are fairly
    straight-forward, but I'm thinking that I need to get the code/query on the
    second and third fields to recognized the choices from the previous fields.
    How to do that....? Thanks in advance.:confused;

    redbarron Guest

  2. Similar Questions and Discussions

    1. Update art "under" my form fields?
      I am designing a form-fillable PDF using InDesign for the layout. After I export to PDF I create all my little form fields. Problem is the client is...
    2. Dynamically Adding Form Fields to CF Flash Form
      I think I know the answer to this but, after some failed Googles, I wanted to double-check here. I have a Flash-based event registration form I'm...
    3. Populate form values based on previous same form fields
      This message is cross posted in alt.comp.lang.php & comp.lang.javascript I have a form for a user to input an establishment's hours and what time...
    4. Update multiple records and fields problem
      I need to update a table based on input into text fields on a form The html page has two columns, Responsibility # and Responsibility The Res. #...
    5. Main form fields don't update
      I've built a form with sub forms for data entry into three seperate tables for our chorus membership. The main form is for entry into a special...
  3. #2

    Default Re: Form Fields Update Each Other

    Are they all dropdown/select fields? Try CF_3SelectsRelated, a neat custom tag that does all the heavy lifting for you.

    HTH,
    philh Guest

  4. #3

    Default Re: Form Fields Update Each Other

    Yes, all 3 will be drop-downs. I've looked at CFAjax, but the code is more
    than I need or have time to figure out. How would I use that tag (sorry, still
    a bit new to CF)? Thanks for your quick reply!

    redbarron Guest

  5. #4

    Default Re: Form Fields Update Each Other

    Ok, I did a quick review of Custom Tags. Is the "3SelectsRelated" tag something you've devised, or is that something availabe in CFMX 7 (Custom Tags directory)? Thanks again for the help with this.
    redbarron Guest

  6. #5

    Default Re: Form Fields Update Each Other

    Sorry, Red, the correct name is CF_ThreeSelectsRelated, and you should be able to find it in the Developers' Exchange.
    philh Guest

  7. #6

    Default Re: Form Fields Update Each Other

    Philh,

    Thanks again...I got the zip and will try to implement it. I used the
    ThreeSelectsRelated name without the cf_ because isn't that the name of the cfm
    page when you create a custom tag (and you add the cf_ only on the page that
    calls the custom tag)? Anyway, thanks for the help!

    redbarron 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