Form with nested iframe stumper

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

  1. #1

    Default Form with nested iframe stumper

    :confused;
    I have a form with a nested iframe. At the top of the form (outside the
    iframe) there is a drop-down box that is used to filter a large database table
    into a smaller result set. The iframe displays this result set in a
    table/grid, and each row has a check-box. The form must also have a 'submit'
    button (outside the iframe), which will update a second database table with the
    rows selected from the iframe grid entries that were selected using the
    checkboxes.
    So, the form's filter function creates the contents of the iframe, and the
    form's submit button uses the selected contents of the iframe to perform a
    database insert.
    Is this possible??? Thanks!

    ColdConFused Guest

  2. Similar Questions and Discussions

    1. PDF Form nested in WinForms
      I use WinForms.NET I want read/write fields from pdf form, but via pdf browser control AxAcroPDFLib.AxAcroPDF your samples demonstrate how include...
    2. Form application , nested loading problem !
      hi , As you can see in the file ,I'm using a ChildForm Application which have 2 Forms , the first one show the second one in a window component ....
    3. targetting an iframe from a form
      Hi, Just a quick question - I've got a form which on submission is supposed to load the new page in a target iframe. I've used the target...
    4. A stumper for the wizards
      Working in ASP VB. Tell me if I can do what my boss wants. We?re establishing a cross-check to ensure that all employees who were scheduled to sign...
    5. [PHP] Stumper: Get Variable Name
      >I want to be able to e-mail myself the name of the variable that bombed You can use PHP's predefined constants in an assertion, and...
  3. #2

    Default Re: Form with nested iframe stumper

    I've never tried it, but, you might be able to do it with javascript. Your
    iframe will probably already have a name so that's a good start. You might
    also have to give it an id attribute, I'm not sure. The stuff in the iframe
    with the checkboxes should also be a form and should also have a name and
    possibly an id.

    Your javascript function will have to read the values of the checkboxes in
    your iframe form and pass them to a hidden form field on your main page. Then,
    in your action page, the hidden form field will be available to work with.

    Dan Bracuk Guest

  4. #3

    Default Re: Form with nested iframe stumper

    well, i've only been doing web development for about a month, so javascript is
    a little out of my league at the moment. i was hoping i could find a
    javascript-free solution. there must be some way for a coldfusion form to
    retrieve something from another form, right? or maybe not. maybe i've hit one
    of the limits of coldfusion? actually, i'm thinking maybe the second submit
    button could be within the iframe. this would probably solve it. what do you
    think? i'll give it a whirl, and provide an update in a couple of days.

    ColdConFused Guest

  5. #4

    Default Re: Form with nested iframe stumper

    If you are going to do web development, you want to learn javascript. I
    learned it by buying this book,
    [url]http://www.samspublishing.com/library/library.asp?b=STY_JavaScript_24_hours&rl=1[/url]
    .. Good book.

    As far as where you put your submit button, I can't say. I don't know what
    you are trying to do. You should though. A good idea is to state what you
    want to do in plain English, and then write your code accordingly.

    By the way, given how new you are, my compliments on getting to the stage
    where you could have a select in your main page populate a form in an iframe.

    Dan Bracuk Guest

  6. #5

    Default Re: Form with nested iframe stumper

    If you are going to do web development, you want to learn javascript. I
    learned it by buying this book,
    [url]http://www.samspublishing.com/library/library.asp?b=STY_JavaScript_24_hours&rl=1[/url]
    .. Good book.

    As far as where you put your submit button, I can't say. I don't know what
    you are trying to do. You should though. A good idea is to state what you
    want to do in plain English, and then write your code accordingly.

    By the way, given how new you are, my compliments on getting to the stage
    where you could have a select in your main page populate a form in an iframe.

    forumnotifier Guest

  7. #6

    Default Re: Form with nested iframe stumper

    Thanks for the tips. I know I'll have to get around to learning javascript one
    of these days (and I've already incorporated some open-source freebies into my
    site) but I'm also finding that javascript solutions are being used when
    they're not needed, and since I'm working with a very compressed development
    schedule, I can't really take too much time out for study.
    Thanks again!

    ColdConFused 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