Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default Auto-submit forms

    Hi,

    I have two forms I'm using to manage data for an online store. The first form
    is an input form, and the second is a formatting form (amoung other things).
    What I want to do is have users input their info, have them click submit, then
    pass them to the second form which will then automatically resubmit without
    pause. What is the best way to do this? The second form only uses <cfinput
    type="hidden"> fields and the odd bit of Coldfusion logic here and there.

    Appreciate the help.

    Droopers Guest

  2. Similar Questions and Discussions

    1. fill and submit forms
      That is not true. I created a form that works fine with the SUBMIT button and I receive the FDF in the email. No Problem. What's killing me is that...
    2. [PHP] can pdf forms be used to submit data into db?
      John, that is EXACTLY what i want, now the question is...have you seen this implemented somewhere? so php would pass the data to a database and...
    3. can pdf forms be used to submit data into db?
      hi guys and gals, aloha from hawaii, Not sure if this is the right place to ask, but i just need to know if it is technically possible to have a...
    4. [PHP] can pdf forms be used to submit data into a db?
      Look here: http://sk2.php.net/manual/en/ref.fdf.php Thanks you fixed the missing indefinite article, I was not going to answer the original. ...
    5. auto submit
      I am making Fireworks pull down menus. I would like the pull down to go to a page. That page will contain a cgi search submission. I have hidden all...
  3. #2

    Default Re: Auto-submit forms

    I would do it without a 2nd form. I would just use variables to format the form fields, and use those variables for whatever you were going to do with the fields from the 2nd form.

    Dan Bracuk Guest

  4. #3

    Default Re: Auto-submit forms

    Thanks for the response. In an earlier forum I was trying to figure out how to
    format a variable before submitting it to a third party site, and the general
    sentiment was that another transitional form is the best way to do that. Maybe
    I'll put the question out there again.

    I have a <cfinput> in a flash form and need two decimal points added to the
    variable if the user doesn't input them. I'm fine with requiring decimals to be
    added is there's a way to add this kind of validation, but I've yet to find out
    if that's possible. So I need two decimal points and a potentially limitless
    number of digits to the left of the decimal (which is why a mask doesn't really
    work for me).

    Help :)

    Droopers Guest

  5. #4

    Default Re: Auto-submit forms

    Use regular expressions:-

    <cfinput validate="regular_expression" pattern="[0-9]*\.[0-9]{2}"....................>
    Stressed_Simon Guest

  6. #5

    Default Re: Auto-submit forms

    Oh crap that doesn't work in flash forms sorry, it would work great in HTML though.

    I'll have a rethink!
    Stressed_Simon Guest

  7. #6

    Default Re: Auto-submit forms

    Heh, stupid flash forms. Did the 7.1 upgrade add any increased support for Reg Expressions?
    Droopers Guest

  8. #7

    Default Re: Auto-submit forms

    You can probably write a function in AS using the new scripting abilities in
    7.01:-


    [url]http://simb.net/index.cfm?do=blog.entry&entry=9A62134E-DF0C-6B95-A88A586DA682E13[/url]
    FHaven't used Flash forms in anger yet.

    Stressed_Simon Guest

  9. #8

    Default Re: Auto-submit forms

    Hmm, if it would work, that'd be hot. Can you (or anyone else) help me out with writing this AS? I'm still very green with CF and haven't had a chance to dip my finger into AS.

    Thanks
    Droopers 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